Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Most visited countries

Public visualization

Most visited countries

0 stars0๐ŸŒ Public
Ssandeep-gollamudi
Last edited Mar 29, 2022
Created on Mar 28, 2022
Forked from ICE-7 Pie chart

This visualization presents a pie chart of the most visited countries, using a legend to display each country's name alongside its tourist count in millions. The chart is rendered as SVG using D3 v5, with the `d3.pie` layout and `d3.arc` segments forming the chart, while a categorical color scale from `d3.scaleOrdinal` assigns distinct colors. Data is loaded from a CSV hosted on GitHub via a gist URL, and tourist figures are formatted with the `d3.format` function.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed