Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Cars Scatter Plot

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed