Skip to main content
100%

ICE 7 Area Chart for Rice Production

✓ Published3🌍 Public
MMounikadontireddy
Last edited Mar 26, 2023
Created on Mar 26, 2023

This area chart visualizes rice production in the US from 1991 to 2021, using an SVG rendered with D3 v5. The chart displays a smooth curve (via `curveBasis`) with a filled teal area beneath it, while axes include gridlines and labeled ticks. The code loads CSV data, parses years with `d3.timeParse`, and uses `scaleTime`, `scaleLinear`, `axisBottom`, and `axisLeft` to construct the scales and axes. `line` and `area` generators draw the data, with the Y-axis formatted using `format('.3s')`.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes