Skip to main content
100%

Cars Scatter Plot

✓ Published0🌍 Public
CCasperHogenboom
Last edited Nov 1, 2019
Created on Nov 1, 2019

This scatter plot visualizes the relationship between horsepower and weight for a dataset of cars, with each point representing an individual vehicle. The code uses D3 v5 to load CSV data from a VizHub dataset, parse numeric fields, and render an SVG visualization. It employs `scaleLinear` for both axes, `axisBottom` and `axisLeft` for tick marks, and appends circles with a fixed radius to encode the data points. The chart includes labeled axes and a title, styled with custom CSS for fonts and circle opacity.

AI-generated description
MIT Licensed

Similar vizzes