Bar Chart
✓ Published0🌍 Public
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 descriptionA program that shows the top 5 most covid affected countries as a bar chart.
Data: Covid dataset.
MIT Licensed