Skip to main content
Public

Share visualization

Loading preview…

Covid Vaers Bar chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Covid Vaers Bar chart

0
Aarchob
Last edited May 24, 2022
Created on May 22, 2022
Forked from Bar Chart

This bar chart visualizes hospital stay durations for COVID-19 vaccine adverse event reports, plotting patient ages on the x-axis against days hospitalized on the y-axis. Using D3 v6 with SVG rendering, the code employs `scaleBand` for the age categories and `scaleLinear` for the hospital days, while `axisBottom` and `axisLeft` generate the labeled axes. The visualization loads data from a local CSV file and initially parses numeric fields before rendering the static chart, with commented-out rect elements suggesting potential interactive hover animations that are not active.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed