Skip to main content
100%

A6 Bar Chart

✓ Published0🌍 Public
Ddonaldminer
Last edited Mar 7, 2022
Created on Mar 6, 2022
Forked from HTML Starter

This horizontal bar chart displays 2020 honey production figures per state, with bar lengths and color intensity both encoding the production value in thousands of pounds. The visualization uses D3 v7’s `scaleBand` for the categorical state axis and a `scaleLinear` for the numeric production axis, while a sequential red color scale (`d3.scaleSequential` with `d3.interpolateReds`) maps production values to fill colors. A color legend, generated via the d3-legend library’s `d3.legendColor`, sits at the right, and the data comes from the NAAS_Bee-Honey-2020.csv file, rendered as SVG rectangles.

AI-generated description
MIT Licensed

Similar vizzes