Skip to main content
100%

Fork of Stylized Scatter Plot

✓ Published0🌍 Public
Ssumukh-bharadwaj
Last edited Dec 21, 2021
Created on Dec 21, 2021

This example visualizes the classic Iris Dataset as a scatter plot, comparing petal length on the x-axis against sepal width on the y-axis. The code uses React for component structure and d3.scaleLinear for coordinate mapping, rendering circles as SVG marks with tooltips. Axes are generated using d3's tick formatting, while data loading relies on d3.csv with asynchronous state management via React hooks. The visualization includes styled axis labels and tick lines, with a loading state shown before data arrives.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes