LGBTQI Country Laws
This visualization shows the number of LGBTQI-related laws across continents, distinguishing between legal all-genders protections and age-of-consent equality through colored bars. The bar chart uses a count aggregation to display how many countries in each continent have specific legal provisions, with each bar representing a count of laws categorized by the continent and legal status. Built with vega-lite-api, the code loads CSV data from a GitHub Gist, calculates a combined total of laws using a D3 transform, and renders the chart with vega-lite, vega, and vega-tooltip. The visualization is configured with custom axis and label styling for improved readability.
AI-generated descriptionA visualization constructed using the vega-lite-api that shows the number of positive and negative LGBTQI laws in different contients.
The data shown here comes from Gist: LGBTQI Country Laws.