Skip to main content
100%

Scatterplot

✓ Published2🌍 Public
MMatan
Last edited Nov 8, 2020
Created on Nov 8, 2020
Forked from Bar chart

This scatterplot displays the relationship between vehicle weight and fuel efficiency (MPG) using the auto-mpg dataset loaded via d3.csv. The visualization uses D3 v6 scaleLinear functions to map data values to SVG coordinates, with axisBottom and axisLeft generating labeled axes. Circles are rendered through SVG elements with d3.selectAll and data joins, styled with semi-transparent steelblue fills. The chart includes custom axis label formatting via d3.format and margin-based layout transforms within a React-free HTML page.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes