Skip to main content
100%

Scatter Plot for Covid

✓ Published0🌍 Public
MM Hema
Last edited Apr 3, 2024
Created on Mar 20, 2024

This scatter plot visualizes COVID-19 data for the top 10 countries, showing the relationship between total cases and total deaths. The visualization uses D3.js v7 with SVG rendering to display circles for each country, where the x-axis represents total cases and the y-axis represents total deaths. The code loads CSV data from a GitHub gist, processes it with JavaScript array methods, and uses d3.scaleLinear to create scales for both axes. Axis labels and grid lines are generated using d3.axisBottom and d3.axisLeft, with margins defining the plot area.

AI-generated description
MIT Licensed

Similar vizzes