Skip to main content
100%

Fork of Making Scatter Plot ICE6

✓ Published0🌍 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

MIT Licensed

Similar vizzes