Skip to main content
Public

Share visualization

Loading preview…

Making chloropleth map with HIV dataset

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

Making chloropleth map with HIV dataset

0
JJean David
Last edited May 25, 2021
Created on May 25, 2021

This interactive chloropleth map visualizes HIV prevalence by country for the year 2017, using a sequential color scale to represent the percentage of the population infected. Users can select a year via a brushed time series histogram, which filters the map’s data accordingly. Built with React and D3 v5, the visualization employs d3.geoPath and d3.geoNaturalEarth1 for map projection, d3.scaleSequential with interpolateYlOrRd for coloring, and d3.brushX for the interactive time selection. Data comes from the IHME HIV prevalence dataset, joined to country shapes using ISO country codes.

AI-generated description

Making chloropleth map with HIV. Data from HIV Prevalence Dataset.

Comments

Sign in to join the discussion.

MIT Licensed