Skip to main content
100%

Cars data plot

✓ Published1🌍 Public
Yyouri7
Last edited Mar 10, 2021
Created on Mar 10, 2021
Forked from Scatter plot

This scatterplot visualizes the relationship between horsepower and weight for 392 cars, using a dataset loaded from a CSV file. Each car is represented as a semitransparent circle, with weight mapped to the x-axis and horsepower to the y-axis via `d3.scaleLinear` and `d3.extent`. The axes are rendered using `d3.axisBottom` and `d3.axisLeft`, with grid lines and custom tick formatting via `d3.format`. The SVG rendering is powered by D3 v6, with the chart drawn inside a 960×500 viewport.

AI-generated description
MIT Licensed

Similar vizzes