Skip to main content
100%

scatter plot

✓ Published2🌍 Public
Zzhangfa
Last edited Jul 30, 2020
Created on Jul 30, 2020
Forked from customzing axes

This scatter plot displays the relationship between horsepower and weight for cars, using red semi-transparent circles scaled along linear axes. The visualization loads data from a remote CSV file and renders it as an SVG, with D3’s `scaleLinear`, `axisBottom`, and `axisLeft` APIs generating gridlines and tick marks. Axis labels and a title clarify the chart, while margins and redundant axis titles structure the layout. The code imports specific functions from D3 v5 and applies CSS styling for opacity and typography.

AI-generated description
MIT Licensed

Similar vizzes