Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
AAli Ahmed
Last edited Nov 30, 2018
Created on Nov 30, 2018

A scatter plot visualizes the relationship between horsepower and weight for individual vehicles, with each red circle marking one data point. The chart uses D3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` to map the CSV data loaded via `csv` from a GitHub gist, rendering SVG circles with `selectAll` and `append`. Axis ticks extend across the plot via `tickSize`, and labels and a title are added as SVG text elements, with styling from CSS.

AI-generated description
MIT Licensed

Similar vizzes