Skip to main content
100%

Fork of ICE - 7 Reusable Scatter Plot Maanas Katta

✓ Published0🌍 Public
Sshreyasribearelly@gmail.com
Last edited Apr 21, 2024
Created on Mar 25, 2024

This example displays a scatter plot of Iris flower data, with each point colored by species: blue for setosa, red for versicolor, and yellow for virginica. It uses D3 v6 APIs including `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map petal measurements to coordinates and render axes, while circles are drawn via selection joins with `.attr` for positioning and styling. The plot is built as a reusable function with configurable width, height, margin, and radius, and appears on a black background with white axis labels.

AI-generated description
MIT Licensed

Similar vizzes