Skip to main content
100%

A6 DIVERGING BAR CHART

✓ Published1🌍 Public
SShazil Taqi
Last edited Mar 27, 2024
Created on Mar 27, 2024
Forked from A6 BAR CHART

This diverging bar chart compares monthly crude oil and natural gas prices over time, with blue bars extending to the right for natural gas and red bars to the left for crude oil. It uses a shared baseline at the center of the chart to emphasize the relative magnitude and divergence between the two commodities across dates. The visualization is built with D3.js v7, employing linear scales for both axes, a band scale for the categorical date axis, and SVG rectangles for rendering. Data is loaded as CSV from a remote GitHub gist.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes