Skip to main content
100%

task6_2

✓ Published0🌍 Public
RRJVENKATESH789@GMAIL.COM
Last edited Apr 10, 2024
Created on Apr 10, 2024
Forked from D3 Starter

This example shows a stacked bar chart of the Iris dataset, with sepal length binned into intervals and each bar segmented by species counts. The chart uses an SVG canvas and relies on the D3 version 6 API, including `d3.scaleBand`, `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, `d3.scaleOrdinal`, and `d3.stack` to create stacked rectangles from the preprocessed data. The visualization displays three color-coded species groups across the horizontal bins, with the y-axis scaled to a fixed maximum of 30.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes