Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Cars Scatter Plot

Public visualization

Viewing a saved revision (read-only)

57468861947847fbbc890c8006c30638

D3 Cars Scatter Plot

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