Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Bar Chart

0 stars0๐ŸŒ Public
NNikithakatta30
Last edited May 13, 2023
Created on May 7, 2023
Forked from Stylized Bar Chart

This bar chart displays the top 5 countries with the highest Covid-19 happiness scores, ranked along the vertical axis with horizontal bars extending proportionally to each score. The visualization uses d3.scaleBand for the categorical y-axis and d3.scaleLinear for the numeric x-axis, with React components rendering SVG elements. Data is loaded asynchronously from a CSV file using d3.csv, with the dataset displayed coming from a gist about Covid-19 impact. Tooltips are implemented using SVG `<title>` elements showing formatted values, while axes and labels are styled via CSS.

AI-generated description

A program that shows the top 5 most covid affected countries as a bar chart.

Data: Covid dataset.

Comments

Sign in to join the discussion.

MIT Licensed