🌍 Public
Viewing a saved revision (read-only)
dfe55807ec02481c9b77ee4aaeca7ec2
ICE-7_shanmukha_reusablescatterplot
This example presents a reusable scatter plot that visualizes the Telco Customer Churn dataset, toggling between two views every five seconds. It plots tenure against monthly charges in one view and against total charges in the other, using D3.js v6 with SVG and animation. The code defines a reusable `scatterPlot` function with configurable accessors for data, dimensions, and margins, then uses `setInterval` to swap between the two plot instances.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.