Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Les précipitations au Maroc en 2016

Public visualization

Viewing a saved revision (read-only)

2872521f9f594616a8009a8f1c2dda5f

Les précipitations au Maroc en 2016

0 stars0🌍 Public
Yyousrakad
Last edited Nov 28, 2020
Created on Nov 28, 2020

This line chart displays daily precipitation levels across Morocco in 2016, with time on the x-axis and temperature on the y-axis, rendered as a smooth curve using `d3.line` with `curveBasis`. The visualization uses D3 v5’s `scaleTime`, `scaleLinear`, `axisLeft`, and `axisBottom` to construct axes with gridlines, while SVG elements handle the rendering. Data is loaded via `d3.csv` from an external dataset, and each timestamp is parsed into a JavaScript `Date` object before scaling. The chart includes labeled axes, a title, and a maroon stroke for the line path.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in San Francisco. The data comes from Data Canvas - Sense Your City.

Made in this video: