cardiovascualr_death vs positive_rate
✓ Published0🌍 Public
This scatterplot visualizes the relationship between cardiovascular death rate and COVID-19 positive rate for different species, using a dataset loaded from a CSV via `d3.csv`. The SVG chart maps the first variable to the x-axis and the second to the y-axis using `d3.scaleLinear`, with tick marks from custom `AxisBottom` and `AxisLeft` components. Each data point is rendered as a circle using the `Marks` component, with tooltips showing formatted x-values. The React app, built with VIzHub and using D3 v7, also includes axis labels for both variables.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed