Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable D3 Scatter Plot w/ symbols

Public visualization

Viewing a saved revision (read-only)

deef53b7858a41acb4bc51912a225b47

Reusable D3 Scatter Plot w/ symbols

0 stars0🌍 Public
Ssyedhaliz
Last edited Mar 13, 2023
Created on Mar 13, 2023
Forked from D3 Starter

This example demonstrates a reusable D3 scatter plot that visualizes the Iris dataset, mapping petal length and sepal length on the x and y axes. Different Iris species are distinguished using D3 symbols (circles, crosses, diamonds, etc.) via `d3.symbol` and a `scaleOrdinal` mapping. The chart is built with an SVG rendering, utilizing `d3.csv` for data loading, `scaleLinear` for scales, and `axisLeft`/`axisBottom` for axes, while the chart’s dimensions, margins, and labels are configured through a custom reusable function pattern.

AI-generated description

A demonstration of how to start using D3 version 6.