Skip to content

Commit

Permalink
docs(maps): jupyter notebook now auto-updates docs site
Browse files Browse the repository at this point in the history
  • Loading branch information
rusackas committed Feb 3, 2024
1 parent 2602527 commit d0153ad
Show file tree
Hide file tree
Showing 3 changed files with 231 additions and 117 deletions.
99 changes: 99 additions & 0 deletions docs/data/countries.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"countries": [
"Afghanistan",
"Albania",
"Algeria",
"Argentina",
"Australia",
"Austria",
"Belgium",
"Bolivia",
"Brazil",
"Bulgaria",
"Burundi",
"Canada",
"Chile",
"China",
"Colombia",
"Costa Rica",
"Cuba",
"Cyprus",
"Denmark",
"Dominican Republic",
"Ecuador",
"Egypt",
"El Salvador",
"Estonia",
"Ethiopia",
"France",
"France Regions",
"Finland",
"Germany",
"Guatemala",
"Haiti",
"Honduras",
"Iceland",
"India",
"Indonesia",
"Iran",
"Italy",
"Italy Regions",
"Japan",
"Jordan",
"Kazakhstan",
"Kenya",
"Korea",
"Kuwait",
"Kyrgyzstan",
"Latvia",
"Liechtenstein",
"Lithuania",
"Malaysia",
"Mexico",
"Morocco",
"Myanmar",
"Netherlands",
"Nicaragua",
"Nigeria",
"Norway",
"Oman",
"Pakistan",
"Panama",
"Papua New Guinea",
"Paraguay",
"Peru",
"Philippines",
"Portugal",
"Poland",
"Puerto Rico",
"Qatar",
"Russia",
"Rwanda",
"Saint Barthelemy",
"Saint Martin",
"Saudi Arabia",
"Singapore",
"Slovenia",
"Spain",
"Sri Lanka",
"Sweden",
"Switzerland",
"Syria",
"Tajikistan",
"Tanzania",
"Thailand",
"Timorleste",
"Turkey",
"Turkmenistan",
"Uganda",
"Uk",
"Ukraine",
"United Arab Emirates",
"Uruguay",
"Usa",
"Uzbekistan",
"Venezuela",
"Vietnam",
"Zambia"
]
}
38 changes: 7 additions & 31 deletions docs/docs/miscellaneous/country-map-tools.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ sidebar_position: 1
version: 1
---

import countriesData from '../../data/countries.json';

## The Country Map Visualization

The Country Map visualization allows you to plot lightweight choropleth maps of
Expand All @@ -18,37 +20,11 @@ code is less ambiguous and is unique to all regions in the world.

The Country Maps visualization already ships with the maps for the following countries:

- Belgium
- Brazil
- Bulgaria
- Canada
- China
- Egypt
- France
- Germany
- India
- Iran
- Italy
- Japan
- Korea
- Liechtenstein
- Morocco
- Myanmar
- Netherlands
- Portugal
- Russia
- Singapore
- Spain
- Switzerland
- Syria
- Thailand
- Timorleste
- Turkey
- UK
- Ukraine
- Uruguay
- USA
- Zambia
<ul>
{countriesData.countries.map((country, index) => (
<li key={index}>{country}</li>
))}
</ul>

## Adding a New Country

Expand Down

Large diffs are not rendered by default.

0 comments on commit d0153ad

Please sign in to comment.