Skip to main content
100%

reusable scatter plot ice 7

✓ Published0🌍 Public
Uuguggila@gitam.in
Last edited Oct 26, 2025
Created on Oct 26, 2025

This reusable scatter plot compares Horsepower against Top Speed for 150 car models, with color encoding distinguishing Economy, Luxury, and Sports brand categories. The visualization is built using D3 v7’s selection, scaleLinear, scaleOrdinal, and axis APIs, rendering SVG circles with tooltips and gridlines. Data is loaded as CSV from a GitHub gist and parsed with d3.csv. The chart is implemented as a configurable closure-based function, allowing callers to set accessors for x, y, color, and axis labels via method chaining.

AI-generated description
MIT Licensed

Similar vizzes