Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

hist

Public visualization

hist

0 stars0🌍 Public
FFarhaan Qazi
Last edited Mar 2, 2023
Created on Mar 2, 2023
Forked from HTML Starter

This visualization displays a horizontal histogram of COVID-19 case counts over time. Each bar’s length represents the cumulative number of cases for a given date, with bars arranged by value along the y-axis. The code uses d3.csv to load data, d3.scaleLinear for the x-axis width mapping, and d3.scaleBand for the y-axis categories. Rectangles are appended to an SVG and sized using the scales, with the data sourced from the provided CSV file. The chart is built with D3 v7.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed