Skip to main content
100%

SCATTERPLOT BABY

✓ Published1🌍 Public
EEvan Chang
Last edited Feb 20, 2020
Created on Feb 19, 2020

This scatterplot displays the relationship between horsepower and weight for a dataset of cars, with each point representing a vehicle. The visualization uses D3 v5’s `scaleLinear` and `extent` functions to map data values to pixel coordinates, while `axisBottom` and `axisLeft` generate labeled axes with gridlines. Data is loaded asynchronously via `csv` from a VizHub-hosted dataset. Circles are appended to an SVG container, styled with a steelblue fill and opacity, and the chart includes a title and rotated y-axis label for clarity.

AI-generated description
MIT Licensed

Similar vizzes