Interactive chart with custom data
📊 CPC YoY Chart block — how to use it
This block renders an interactive horizontal grouped bar chart (data labels always visible, hover highlight + tooltip, bars animate in on scroll).
Data source — pick one:
- Built-in test data (default) — uses our 13-category CPC dataset. When this is selected, the Color scheme dropdown applies (Green & blue, Orange & blue, or one of the gradient presets).
- Custom data — enter your own. This reveals:
-
- Series (add up to 4): each is one bar color in a group. Give it a Label (shows in the legend/tooltip), a Color, and optionally a Gradient end color to make that bar a gradient. The order you list them = top-to-bottom order in each group.
- Data rows: one row per category. Type the Category name, then fill Value 1 / Value 2 / … to match your series order (Value 1 = your first series, etc.). Extra value columns past your number of series are ignored.
- Value formatting: Prefix (e.g.Â
$), Suffix (e.g.Â%), and Decimal places — so it works for dollars, percentages, etc.
Other options (apply to both data sources):
- Category order — keep the given order, or auto-sort ascending/descending by the first series’ value.
- Bar size — Thin, or Wide (thicker bars with no gap between the pair).
- Heading / Description — optional copy above the chart.
💡 Tip: if you switch to Custom but leave it empty, it safely falls back to the built-in data.
Series A
Series B
Series C
Series D
Category I
Category II
Category III
Category IV
Cost Per Click YoY
Cost Per Click, Year-over-Year
CPC2025
CPC2024
Electronics
Clothing, Shoes & Jewelry
Automotive
Sports & Outdoors
Office Products
Tools & Home Improvement
Toys & Games
Patio, Lawn & Garden
Baby Products
Grocery & Gourmet Food
Pet Supplies
Beauty & Personal Care
Health & Household
Cost Per Click YoY
Cost Per Click, Year-over-Year
CPC2025
CPC2024
Health & Household
Pet Supplies
Beauty & Personal Care
Electronics
Tools & Home Improvement
Baby Products
Grocery & Gourmet Food
Sports & Outdoors
Patio, Lawn & Garden
Automotive
Office Products
Toys & Games
Clothing, Shoes & Jewelry
Cost Per Click YoY
Cost Per Click, Year-over-Year
CPC2025
CPC2024
Clothing, Shoes & Jewelry
Toys & Games
Office Products
Automotive
Patio, Lawn & Garden
Sports & Outdoors
Grocery & Gourmet Food
Baby Products
Tools & Home Improvement
Electronics
Beauty & Personal Care
Pet Supplies
Health & Household
Cost Per Click YoY
Cost Per Click, Year-over-Year
CPC2025
CPC2024
Clothing, Shoes & Jewelry
Toys & Games
Office Products
Automotive
Patio, Lawn & Garden
Sports & Outdoors
Grocery & Gourmet Food
Baby Products
Tools & Home Improvement
Electronics
Beauty & Personal Care
Pet Supplies
Health & Household
Cost Per Click YoY
Cost Per Click, Year-over-Year
CPC2025
CPC2024
Clothing, Shoes & Jewelry
Toys & Games
Office Products
Automotive
Patio, Lawn & Garden
Sports & Outdoors
Grocery & Gourmet Food
Baby Products
Tools & Home Improvement
Electronics
Beauty & Personal Care
Pet Supplies
Health & Household
Cost Per Click YoY
Cost Per Click, Year-over-Year
CPC2025
CPC2024
Clothing, Shoes & Jewelry
Toys & Games
Office Products
Automotive
Patio, Lawn & Garden
Sports & Outdoors
Grocery & Gourmet Food
Baby Products
Tools & Home Improvement
Electronics
Beauty & Personal Care
Pet Supplies
Health & Household
Cost Per Click YoY
Cost Per Click, Year-over-Year
CPC2025
CPC2024
Clothing, Shoes & Jewelry
Toys & Games
Office Products
Automotive
Patio, Lawn & Garden
Sports & Outdoors
Grocery & Gourmet Food
Baby Products
Tools & Home Improvement
Electronics
Beauty & Personal Care
Pet Supplies
Health & Household
Cost Per Click YoY
Cost Per Click, Year-over-Year
CPC2025
CPC2024
Clothing, Shoes & Jewelry
Toys & Games
Office Products
Automotive
Patio, Lawn & Garden
Sports & Outdoors
Grocery & Gourmet Food
Baby Products
Tools & Home Improvement
Electronics
Beauty & Personal Care
Pet Supplies
Health & Household
Cost Per Click YoY