Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7_shanmukha_reusablescatterplot

Public visualization

ICE-7_shanmukha_reusablescatterplot

0 stars0🌍 Public
Sshanmukhadatta4040@gmail.com
Last edited Mar 22, 2024
Created on Mar 21, 2024

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 description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed