Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A6 Bar Chart

Public visualization

Viewing a saved revision (read-only)

30f9617eb14f49ac874d9cb3fd226dd3

A6 Bar Chart

0 stars0🌍 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