🌍 Public
Viewing a saved revision (read-only)
01ade73b3b11438483af03aea5076226
Fork of Activity6_Task2_Question 2-3
This visualization uses a stacked bar chart to show the distribution of jobs across five locations—New York, Texas, New Jersey, San Jose, and others—for four job categories. Each bar segment represents a percentage, with colors mapping to locations via d3.scaleOrdinal. The chart uses d3.stack to compute stacked series, d3.scaleBand and d3.scaleLinear for axes, and d3.axisBottom with tick marks. Interactive tooltips appear on mouseover, revealing the exact percentage value using d3.format. Data is loaded from a local CSV file, and the SVG is rendered with D3 v7.
AI-generated descriptionA demonstration of how to start using D3 version 6.