Skip to main content
100%

Cars colorlegend

✓ Published3🌍 Public
NNTCHANG1289
Last edited Nov 7, 2018
Created on Oct 2, 2018
Forked from Cars Scatter Plot

This scatter plot visualizes automobile data from the UCI Machine Learning Repository’s Auto MPG dataset, showing horsepower versus weight for individual cars. Each point’s color encodes the number of cylinders, using an ordinal color scale with a categorical palette, and the legend is generated via the d3-legend library’s `legendColor` function. Axes are rendered with `d3.axisBottom` and `d3.axisLeft`, while margin conventions and SVG circles position the data. The visualization relies on D3 v5 for scales, extents, and SVG rendering, with parsed numeric fields from the CSV source.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.

MIT Licensed

Similar vizzes