Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity_task2

Public visualization

Viewing a saved revision (read-only)

eab2b18be1e044a28edaf8c46962d14e

activity_task2

0 stars0🌍 Public
AArungopal Andalam
Last edited Apr 17, 2024
Created on Apr 15, 2024
Forked from Task8

This example displays a stacked bar chart comparing the values of Nitrogen, normal, and stress conditions across four groups: banana, poacee, sorgho, and triticum. The visualization uses d3.stack() to aggregate the CSV data into stacked segments, with d3.scaleBand() for the categorical x-axis and d3.scaleLinear() for the y-axis. A separate SVG legend is created using d3.scaleOrdinal() to map each subgroup to a distinct color. The bars are rendered as SVG rectangles, with axes labeled "Group" and "Value".

AI-generated description

A blank slate starting point showing the "Hello World" for the VizHub V3 Runtime Environment, which supports continuous hot reloading with interactive widgets.

https://vizhub.com/drbagwell/cfc6aaba08b54a598475e867bcc8fa21