Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot

Public visualization

Cars Scatter Plot

0 stars1🌍 Public
Aalanhealy
Last edited Dec 11, 2020
Created on Dec 10, 2020
Forked from Cars Scatter Plot

This scatter plot visualizes car data from the UCI Machine Learning Repository, showing horsepower versus weight. The visualization uses D3.js (v5) to render an SVG chart with time on the x-axis and views on the y-axis. It employs D3's `scaleLinear`, `scaleTime`, and `scaleOrdinal` for scaling, along with `axisBottom` and `axisLeft` for axes. The data is loaded from a Google Sheets CSV, and multiple line paths are generated using the `nest` API and `lineGenerator` with `curveBasis`, colored via `schemeCategory10`.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.

Comments

Sign in to join the discussion.

MIT Licensed