Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Scatter Plot Example

Public visualization

Cars Scatter Plot Example

0 stars1🌍 Public
NNico Donovan
Last edited Jul 12, 2020
Created on Jul 12, 2020

This scatter plot visualizes the relationship between horsepower and weight for various car models, with each data point represented as a semi-transparent red circle. The chart includes labeled axes, grid lines, and a title, all rendered as SVG elements within a React framework. The implementation uses d3’s `scaleLinear`, `axisLeft`, and `axisBottom` APIs to construct the scales and axes, and data is loaded from a CSV file using d3’s `csv` function. Styling is applied through CSS, with the circle’s opacity set to 0.3 to reveal overlapping points.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed