Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatterplot

Public visualization

Cars Scatterplot

0 stars2🌍 Public
JJohn Hamilton Bradford
Last edited Oct 25, 2018
Created on Oct 24, 2018
Forked from Scatterplot

This scatterplot displays the relationship between horsepower and weight for a dataset of cars, with each point representing a single vehicle. The visualization uses D3 v5 to load CSV data, create linear scales with `d3.scaleLinear`, and render SVG circles with opacity. Axes are generated using `d3.axisBottom` and `d3.axisLeft`, complete with tick marks and custom axis labels, while a title appears at the top. The chart’s dimensions are set via SVG attributes, and the data is sourced from an external CSV file.

AI-generated description

Testing. This shows a scatterplot.

Comments

Sign in to join the discussion.

MIT Licensed