Skip to main content
100%

area chart ic7

✓ Published2🌍 Public
Ddivyagunuguntla
Last edited Mar 29, 2022
Created on Mar 29, 2022

This area chart displays bike users from 2012 to 2022, with the x-axis mapping years and the y-axis showing user counts. The visualization combines a black line chart with a purple filled area beneath it to emphasize the trend over time. Built with D3 v5, the code uses the `line` and `area` generators with a `curveBasis` smoothing function, and scales data with `scaleLinear`. The SVG is constructed using the `select`, `append`, and `attr` methods, with axes rendered via `axisBottom` and `axisLeft`. Data is loaded from a remote CSV file using `csv`, and tick labels are formatted with `format`.

AI-generated description

combined line and area charts

MIT Licensed

Similar vizzes