Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

06bf4ade7f0941d28edee4fcea1fc139

Fork of Fork of Reusable D3 Scatter Plot

0 stars0🌍 Public
Nnagasai.mandalapu@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024

This example adapts a reusable D3 scatter plot to visualize soccer statistics, cycling through three different variable pairings every three seconds. It uses `d3.csv` to load a dataset containing goals for and against, wins, draws, losses, and points. The animation smoothly updates the plot's axes and circle positions by re-binding data and calling `axisLeft` and `axisBottom` within a setInterval loop. The SVG circles are rendered with a fixed radius, and the chart adjusts to the full window size.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.