US Solar and Oil Production 2010-2020
✓ Published0🌍 Public
This visualization shows US electricity production from solar and oil between 2010 and 2020, with bars representing solar production percentages and color encoding oil production values using a sequential YlOrRd color scale. The chart filters data to the United States from a CSV source, using d3.csv for loading and preprocessing. It employs d3.scaleBand for the year axis, d3.scaleLinear for the percentage axis, and d3.scaleSequential with d3.interpolateYlOrRd for color mapping. Axes are rendered via d3.axisBottom and d3.axisLeft, with a d3.legendColor legend indicating oil production levels.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed