Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Black hat multiline chart

Public visualization

Viewing a saved revision (read-only)

71976a361c5b4300b3bcf17e9d87fd29

Black hat multiline chart

0 stars0🌍 Public
Kkfhujosefsson@dons.usfca.edu
Last edited Apr 23, 2025
Created on Apr 23, 2025

This example displays daily COVID-19 cases for five Scandinavian countries throughout October 2020 on a logarithmic scale. The black-background chart uses colored lines for Sweden, Denmark, Norway, Finland, and Iceland. The visualization loads CSV data via `d3.csv`, builds scales with `scaleLinear` and `scaleLog`, and renders paths with the `d3.line` generator. SVG elements handle axes, labels, a title, and a legend, demonstrating D3 v7's data-joining and axis APIs.

AI-generated description