Skip to main content
100%

A7 - Small Multiples in D3

✓ Published0🌍 Public
RRiya Mathur
Last edited Apr 10, 2024
Created on Mar 24, 2024

This example uses small multiples to display the frequency of Atlantic storms from 1995 to 2016, with each chart representing a different storm name. The visualization shows a line chart for each storm, mapping year on the x-axis and frequency on the y-axis, with all charts sharing identical scales for easy comparison. Built with D3 v6, it uses `d3.csv`, `d3.group`, `d3.line`, `d3.scaleTime`, `d3.scaleLinear`, and `d3.scaleOrdinal` to parse data, group by storm name, and render SVG paths, axes, and a legend. The color scale uses `d3.schemeCategory10`, and the data comes from an external CSV file linked in the code.

AI-generated description

Small Multiples depicting the frequency of each storm from 1995 to 2016.

MIT Licensed

Similar vizzes