Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 selection exploration

Public visualization

Fork of D3 selection exploration

0 stars0🌍 Public
HHaritscode
Last edited Aug 5, 2023
Created on Aug 5, 2023

This example demonstrates a simple scatter plot of the Iris dataset, mapping petal length and width to x and y positions. It creates a responsive SVG chart using D3 v7, with scales and axes configured via `scaleLinear`, `axisLeft`, and `axisBottom`. Data is loaded as CSV and parsed, then circles are joined to the SVG using `selectAll` and `data`. The plot fills the browser window, with margins applied to the axes.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed