Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart

Public visualization

Viewing a saved revision (read-only)

b109ee44710646838d57b3712fe685bd

Area Chart

0 stars0🌍 Public
Ppadiginetivishnupriya@gmail.com
Last edited Apr 22, 2024
Created on Apr 22, 2024

This area chart visualizes monthly electronics sales in a grocery store for 2023, showing the trend of sales values across the twelve months using a filled line path. The visualization uses D3 v5 with an SVG rendering, employing `scalePoint` for the categorical month axis and `scaleLinear` for the sales values. The code loads CSV data from a GitHub gist, then draws the area chart by appending a line path and filling it with light green, alongside labeled axes with custom tick styling and a title. The chart includes axis labels, grid lines, and color-coded elements for readability.

AI-generated description

example of Area chart