Fork of AkshithaRapala - Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
AArun
Last edited Mar 28, 2024
Created on Mar 28, 2024
This reusable D3 scatter plot visualizes the diabetes dataset, mapping pregnancies and glucose levels as points on a dynamic SVG canvas. It cycles through multiple columns—Pregnancies, Glucose, BloodPressure, and SkinThickness—updating the x-axis every 100 milliseconds to animate the chart. Built with d3.scaleLinear, axisBottom, and axisTop, it encodes species as distinct shapes via the shapePath function. The plot adjusts to window dimensions and refreshes automatically, offering an interactive glimpse into the dataset’s correlations.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed