Skip to main content
100%

Stylized Scatter Plot

✓ Published2🌍 Public
RRedSorrel
Last edited Sep 21, 2021
Created on Sep 21, 2021
Forked from Stylized Bar Chart

This stylized scatter plot visualizes the Iris Dataset, mapping sepal length on the x-axis against sepal width on the y-axis with teal circular marks. Built with React and D3 v7, it uses `scaleLinear` to position points on an SVG canvas, with custom `AxisBottom` and `AxisLeft` components rendering tick marks and labels. The code loads CSV data asynchronously via `csv` and `useData`, applies a Poppins font, and includes tooltips using SVG `<title>` elements. Axis labels are rotated for vertical orientation, and the plot employs a "Loading..." fallback while fetching data.

AI-generated description

A scatterplot of The Iris Dataset

MIT Licensed

Similar vizzes