Skip to main content
100%

react-d3-scatterplot

✓ Published1🌍 Public
GGabriel Dias Menezes
Last edited Jun 21, 2022
Created on Jun 21, 2022
Forked from Stylized Bar Chart

This example renders a scatter plot of the classic Iris dataset, mapping sepal length to the x-axis and sepal width to the y-axis. Built with React, it loads CSV data via d3.csv and uses d3.scaleLinear to construct the axes. SVG circles represent each data point, with a native title element providing hover tooltips. The code defines reusable components for axes and marks, and uses d3's extent and nice functions to set the scale domains.

AI-generated description

A scatter plot of The Iris Dataset

MIT Licensed

Similar vizzes