Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making Scatter Plot ICE6

Public visualization

Viewing a saved revision (read-only)

1ce75ac7ad544dde9289017dd11786c5

Fork of Making Scatter Plot ICE6

0 stars0🌍 Public
RRinoj-Gautam
Last edited Mar 22, 2023
Created on Mar 22, 2023

This visualization displays a scatter plot of the Pima Indian Diabetes dataset, plotting Glucose levels on the x-axis against DiabetesPedigreeFunction on the y-axis. Each circle is colored by the Outcome variable using d3.scaleOrdinal with two distinct colors, and size is fixed at a radius of 7. The React component uses d3.scaleLinear for both axes, with SVG rendering via React elements. The code leverages d3.csv for data loading, custom AxisBottom and AxisLeft components for tick marks, and tooltips generated through SVG title elements within the Marks component.

AI-generated description

A scatter plot of The Iris Dataset