Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable D3 Scatter Plot

Public visualization

Reusable D3 Scatter Plot

0 stars1🌍 Public
MMatheesha Yapa
Last edited Jul 2, 2023
Created on Jun 28, 2023
Forked from D3 Scatter Plot

This example demonstrates a reusable D3 scatter plot that visualizes the Iris dataset, with points colored and shaped by species. The plot cycles through different x-axis variables every two seconds, animating transitions between sepal and petal measurements. Built with D3 v7, it uses `scaleLinear`, `scaleOrdinal`, `symbol`, `axisLeft`, and `axisBottom` APIs to render SVG marks and axes. The visualization is fully responsive, filling the browser window, and updates dynamically by re-invoking the custom `scatterPlot` function with new data accessors.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed