🌍 Public
Viewing a saved revision (read-only)
133988d8affd4381964b98d0ddd496b8
Assignment 6 -- Bar chart with a Sequential color scale
A bar chart displays average engine horsepower for seven car makes, sorted from lowest to highest, with a sequential red color scale encoding the horsepower value. The chart uses D3 v6 with SVG rendering, including axes, a color legend, and a tooltip that shows the exact value on hover. The code reads data from a CSV file, applies a quantized color scale from the ColorBrewer library, and uses the d3-legend API to generate the legend.
AI-generated description