🌍 Public
D3 Example
This stacked bar chart shows the count of Up, Down, and Failed statuses across five days, with each layer’s height representing the cumulative value. It uses D3 v3’s `d3.layout.stack` and `d3.scale.ordinal` for the x-axis, `d3.scale.linear` for the y-axis, and a `d3.scale.category10` color scale for the status categories. The data is loaded from a CSV file, and the chart renders as SVG within a React framework, with axes and a color legend added via `d3.svg.axis` and `d3.legend.color`.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed
Comments
Sign in to join the discussion.