Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stylized Scatter Plot

Public visualization

Stylized Scatter Plot

0 stars1🌍 Public
KKtuzinowski
Last edited Jul 26, 2021
Created on Jul 25, 2021
Forked from Stylized Bar Chart

This scatter plot visualizes the iris dataset, showing petal length against sepal width as individual teal circles. Built with React and SVG, the chart uses d3.scaleLinear with .nice() to construct the axes and d3.extent to compute the domain. Axis components render tick marks and labels, while a tooltip on each circle exposes the x-value in a semantic title element. Data loading is handled asynchronously via d3.csv, with the results stored in React state through a custom useData hook.

AI-generated description

Scatterplot of iris dataset

Comments

Sign in to join the discussion.

MIT Licensed