hist
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed