Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 6 -- Bar chart with a Sequential color scale

Public visualization

Assignment 6 -- Bar chart with a Sequential color scale

0 stars0🌍 Public
Vvishusikka
Last edited May 3, 2022
Created on May 3, 2022

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

Comments

Sign in to join the discussion.

MIT Licensed