Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatterplot

Public visualization

Viewing a saved revision (read-only)

9168952d869b4e24a1c4c35e91f90d58

Scatterplot

0 stars2🌍 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.