Skip to main content
100%

Top 15 Sales in the year 2019

✓ Published0🌍 Public
Aajayrao0
Last edited Mar 8, 2022
Created on Mar 8, 2022

This visualization is a scatter plot of the Iris dataset, displaying petal length on the x-axis and petal width on the y-axis, with points colored by species (setosa, versicolor, and virginica). The code uses D3 v6 with an SVG rendering approach, employing `d3.csv` to load the data, `d3.scaleLinear` and `d3.extent` to map values to pixel coordinates, and `d3.axisBottom` and `d3.axisLeft` to generate the axes. Each circle’s fill color is assigned via a switch statement, while the chart fills the browser window.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.

MIT Licensed

Similar vizzes