Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot

Public visualization

Fork of Reusable D3 Scatter Plot

0 stars0🌍 Public
Yyisha huang
Last edited Jun 27, 2024
Created on Jun 27, 2024

This example demonstrates a reusable scatter plot built with D3, visualizing the Iris dataset. It cycles through four attribute pairs every two seconds, updating the x-axis and circle positions with animated transitions. The code uses D3's `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and a custom `scatterPlot` module, rendering SVG circles and axes. The plot dynamically re-renders with new data mappings, showcasing a flexible, configurable chart component.

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