Skip to main content
100%

D3 Cars Scatter Plot

✓ Published1🌍 Public
YYoung Song
Last edited Jun 23, 2022
Created on Jun 17, 2022

This D3 scatter plot visualizes the relationship between horsepower and weight for a set of cars, with each point representing a vehicle. The data is loaded from a remote CSV file and parsed into numeric values. The code uses `scaleLinear` to map the data range to the SVG canvas, `axisLeft` and `axisBottom` for the axes, and `format` for tick labels. Circles are appended with a fixed radius, and the plot includes a title and axis labels. The SVG rendering is styled via CSS for a clean presentation.

AI-generated description
  • Getting data from API
  • Parse data in csv format
MIT Licensed

Similar vizzes