Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

task6_2

Public visualization

Viewing a saved revision (read-only)

749b8b8a2bc6422ea870f9118ed592ad

task6_2

0 stars0🌍 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.