Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Reusable D3 Scatter Plot

Public visualization

Fork of Fork of Reusable D3 Scatter Plot

0 stars1🌍 Public
NNaimisha-M
Last edited Jul 1, 2022
Created on Jul 1, 2022

This animated scatter plot cycles through three dimensions of the Iris Dataset—Marks, time_study, and number_courses—on the x-axis while keeping time_study on the y-axis. Built with a reusable D3 chart factory pattern, it uses `scaleLinear`, `axisLeft`, `axisBottom`, and `selection.join` to render circles in SVG. A `setInterval` updates the `xValue` accessor every five seconds, triggering a redraw via `svg.call(plot)`. The data loads from a CSV fetched with `d3.csv`, and the visualization adapts to the full browser viewport.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed