Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable scatter plot

Public visualization

Viewing a saved revision (read-only)

b46acff52bb1473fb5a9cc2feead770d

Reusable scatter plot

0 stars0🌍 Public
Kkotlavamsireddy@gmail.com
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from D3 Scatter Plot

This reusable D3 scatter plot visualizes the insurance dataset, mapping age on the x-axis and cycling through BMI, charges, and children values on the y-axis every two seconds. It uses SVG rendering with animated transitions to swap the y-axis label and rescale the data points. The plot differentiates data points by smoker status using distinct symbols and colors from D3's `schemeCategory10` scale, and is built with reusable accessors for width, height, data, and margins.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.