Skip to main content
100%

Fork of Stylized Scatter Plot with Color Legend

✓ Published1🌍 Public
DDivyaVellanki
Last edited Mar 7, 2022
Created on Mar 7, 2022
Forked from HTML Starter

This fork of the stylized scatter plot visualizes the Iris dataset, plotting sepal length against petal length for individual flowers. The code uses D3 v5 with SVG rendering, employing `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `d3.schemeCategory10` for species colors, and the `d3.legend` library to display a color legend. It also utilizes `d3.axisBottom` and `d3.axisLeft` with tick lines spanning the chart, plus axis and legend labels styled via CSS.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes