Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

239c45ae10a843b8b1849c5787be44c9

Fork of Reusable D3 Scatter Plot

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

This scatter plot visualizes the classic Iris dataset, displaying petal width against sepal length for each sample. The chart uses a reusable D3 module with a fluent interface, built on `d3.scaleLinear`, `d3.extent`, and `d3.axisLeft`/`axisBottom` for scaled axes. Rendered as an SVG, the visualization cycles through four different feature pairings every two seconds via `setInterval`, updating the x-axis and circle positions in place. The code leverages D3 6.7.0 and fetches the dataset from a GitHub Gist, with a custom "Share Tech" font applied to the axis labels.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.