Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Stylized Scatter Plot

Public visualization

Viewing a saved revision (read-only)

29935b1a75b04f508d52f012ef98e6a3

Fork of Stylized Scatter Plot

0 stars1🌍 Public
TtrwMK
Last edited Oct 18, 2022
Created on Oct 18, 2022

This example visualizes the Iris flower dataset, plotting petal length against petal width in a scatter plot. The visualization uses a custom React component structure that leverages D3's `scaleLinear` for axis scaling and maps data points to SVG circles. The rendering relies on D3 utilities for data loading (`csv`) and domain calculation (`extent`), while the React hooks manage asynchronous data fetching. The plot features styled axes with tick marks and labels, and each data point includes a tooltip showing its petal length value, all rendered as SVG elements within a React-driven interface.

AI-generated description