Greenhouse Gas Producers - Bar Graph
✓ Published0🌍 Public
This visualization presents a bar graph of greenhouse gas emissions by state for the year 2020, with each bar segmented by facility name and interactive tooltips revealing facility details. The chart uses the Vega-Lite API, built with `vl.markRect()` and encoding functions for the x-axis state field, y-axis emissions quantity, and color mapping by facility. Data is fetched asynchronously via D3’s `csv()` from a GitHub Gist, while the Vega tooltip handler and custom config adjust axis styling and text colors for improved readability.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed