Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable scatterplot

Public visualization

Viewing a saved revision (read-only)

ce1f05ed2571409897e906d81b50af6f

Fork of Reusable scatterplot

0 stars0🌍 Public
GGeorgi Dimitrov
Last edited Jul 3, 2022
Created on Jul 3, 2022

This example visualizes the classic Iris dataset, showing the relationship between petal length and petal width. Each flower is drawn as a distinct SVG path symbol, with different symbol types corresponding to the three Iris species, and color encoding species using the viridis scale. The code imports from D3 v6, using `scaleLinear` for axes, `scaleOrdinal` for symbol and color mapping, and the `symbol` generator to create shapes. It loads data from a CSV file hosted on GitHub and renders within a full-screen SVG.

AI-generated description