Skip to main content
Public

Share visualization

Send this visualization to others.

hist

Public visualization

By farhaanqazi on VizHub

LinkedIn caption

LinkedIn cannot prefill the post text. Copy the caption, then paste it in LinkedIn. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code

The embed preserves the visualization's visibility and project dataset permissions.

Download & exportHTML, source ZIP and authorized project data

Source ZIP contains editable visualization files; it does not include project datasets. Standalone HTML is available where authorized and packages readable referenced data for offline use. Dataset ZIP requires project read permission.

Standalone HTMLSource ZIP
Publishing & handoffCopy a client maintenance summary

Includes the canonical link, visibility, and available export formats. Confirm dataset attribution, licensing and maintenance responsibilities with the publisher.

hist

0 stars0Public
FFarhaan Qazi
Last edited Mar 2, 2023
Created on Mar 2, 2023
Forked from HTML Starter

This histogram visualizes the distribution of daily COVID-19 case counts over time, with values ranging from 5 to over 50,000. The X-axis is fixed to a domain of 0–1000, showing only the lower range of the data. The visualization uses d3.histogram to bin the dates based on their associated value, then renders bars with SVG rectangles. The bars are colored teal and scaled using d3.scaleLinear for both axes, with data loaded from a CSV file via d3.csv. The code defines its margins, width, and height explicitly before building the chart.

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