Skip to main content
100%

Bar Chart Mine

✓ Published1🌍 Public
PPedro Ernesto Tramontina
Last edited Mar 31, 2020
Created on Mar 30, 2020
Forked from Customize Axis

This visualization shows batch consumption data over time as a bar chart, with each bar representing a single data point's measured value. Bars are color-coded by error state using a d3.scaleThreshold, mapping values to "erro", "aceito", or "conforme" classes. The chart uses d3.scaleTime and d3.scaleBand for the x-axis positioning, d3.scaleLinear for the y-axis, and renders SVG rectangles. Each bar includes rotated text labels for operation/batch identifiers and measured values in kilograms. The data is loaded asynchronously from a JSON file using d3.json.

AI-generated description
MIT Licensed

Similar vizzes