Winkel Tripel, US States

using Makie, GLMakie, GeoMakie
import Downloads
using GeoJSON
using GeoInterface


states ="")
states_geo =, String))
#n = length(GeoInterface.features(states_geo))
n = length(states_geo)

fig = Figure(resolution=(1200, 800), fontsize=22)
ax = GeoAxis(fig[1, 1]; dest="+proj=wintri",coastlines=true,
    title="Projection: Winkel Tripel, US States", tellheight=true)
poly!(ax, states_geo, color=1:n, colormap=:plasma, strokecolor=:black,
    strokewidth=1, overdraw=true, transformation=(:xy, 10))


This example was autogenerated using:

using Pkg
Pkg.status(["Makie", "GLMakie", "GeoMakie", "Downloads", "GeoJSON", "GeoInterface"])
Status `~/work/BeautifulMakie/BeautifulMakie/docs/Project.toml`
  [e9467ef8] GLMakie v0.8.6
  [cf35fbd7] GeoInterface v1.3.1
⌅ [61d90e0f] GeoJSON v0.6.4
  [db073c08] GeoMakie v0.5.0
  [ee78f7c6] Makie v0.19.6
  [f43a241f] Downloads v1.6.0
Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated`

This page was generated using Literate.jl.