Skip to main content
100%

Fork of Bar chart with a Sequential color scale

✓ Published1🌍 Public
Mmavercikalvin
Last edited Mar 8, 2023
Created on Mar 8, 2023

This bar chart displays the average horsepower for seven car manufacturers, sorted from lowest to highest, with a sequential red color scale encoding the same value. The visualization is rendered in SVG using D3 v6 and the d3-legend plugin, with a quantized color scale from colorbrewer. Hovering over a bar triggers a tooltip with the exact horsepower value. The chart includes labeled axes, a legend, and animated opacity transitions on the tooltip.

AI-generated description
MIT Licensed

Similar vizzes