Skip to main content
100%

ESP D3 v7

✓ Published0🌍 Public
Ttebanieo
Last edited Feb 16, 2023
Created on Feb 16, 2023
Forked from HTML Starter

This example shows a scatter plot of the Iris dataset, with sepal length on the x-axis and petal length on the y-axis, colored by species using a d3.scaleOrdinal with a viridis-like palette. Users can brush horizontally along the x-axis to zoom into a selected range, which updates the axis domain and repositions the circles with a transition. The visualization uses SVG rendering with d3.brushX for interactive selection, a clipPath to confine drawing, and d3.axisBottom for the dynamically re-scaled axis.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes