Skip to main content
100%

Stylized Scatter Plot

✓ Published0🌍 Public
TTran Quang Anh Ha
Last edited Mar 10, 2022
Created on Mar 9, 2022

This scatter plot visualizes the relationship between the share of women in a college major and median earnings, using data from the FiveThirtyEight recent-grads dataset. The React component renders an SVG with D3 scale functions (`scaleLinear`) to map data values to pixel coordinates, while reusable `AxisBottom` and `AxisLeft` components generate ticks and gridlines. Circles are positioned using `xScale` and `yScale`, with the `Marks` component assigning a `<title>` element to each point, enabling a native browser tooltip on hover. The visualization uses the d3.csv loader to fetch and parse the remote dataset.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes