All examples
Visualization

Explore all twelve South American countries

Draw an offline continental overview and administrative regions for all twelve countries with independently optional map packs.

plot_south_america.aner
// Requires the matching native development runtime and optional local map packs.
// No network, online tiles or automatic download is used. All values are synthetic.
// Boundaries: generalized Natural Earth 1:10m, pinned 2022 source snapshot.
import aner.plot

// Install south.america for this overview; country detail packs are independent.
plot.map("south.america",
    keys: List("ARG", "BOL", "BRA", "CHL", "COL", "ECU", "GUY", "PRY", "PER", "SUR", "URY", "VEN"),
    values: List(12.0, 9.0, 18.0, 14.0, 11.0, 8.0, 5.0, 7.0, 13.0, 6.0, 10.0, 15.0))
    .projection("lambert_azimuthal_equal_area")
    .title("South America: twelve countries, synthetic values")
    .caption("Natural Earth 2022; additional territory/disputed units have no data. Source depiction is not a sovereignty claim.")
    .show()

// Only the argentina pack supplies this country administrative layer.
plot.map("argentina", keys: List("AR-B"), values: List(10.0))
    .projection("lambert_azimuthal_equal_area")
    .title("Argentina: administrative regions")
    .caption("Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.")
    .show()

// Only the bolivia pack supplies this country administrative layer.
plot.map("bolivia", keys: List("BO-L"), values: List(10.0))
    .projection("lambert_azimuthal_equal_area")
    .title("Bolivia: administrative regions")
    .caption("Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.")
    .show()

// Only the brazil pack supplies this country administrative layer.
plot.map("brazil", keys: List("BR-SP"), values: List(10.0))
    .projection("lambert_azimuthal_equal_area")
    .title("Brazil: administrative regions")
    .caption("Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.")
    .show()

// Only the chile pack supplies this country administrative layer.
plot.map("chile", keys: List("CL-RM"), values: List(10.0))
    .projection("lambert_azimuthal_equal_area")
    .title("Chile: administrative regions")
    .caption("Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.")
    .show()

// Only the colombia pack supplies this country administrative layer.
plot.map("colombia", keys: List("COL-1399"), values: List(10.0))
    .projection("lambert_azimuthal_equal_area")
    .title("Colombia: administrative regions")
    .caption("Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.")
    .show()

// Only the ecuador pack supplies this country administrative layer.
plot.map("ecuador", keys: List("EC-P"), values: List(10.0))
    .projection("lambert_azimuthal_equal_area")
    .title("Ecuador: administrative regions")
    .caption("Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.")
    .show()

// Only the guyana pack supplies this country administrative layer.
plot.map("guyana", keys: List("GY-DE"), values: List(10.0))
    .projection("lambert_azimuthal_equal_area")
    .title("Guyana: administrative regions")
    .caption("Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.")
    .show()

// Only the paraguay pack supplies this country administrative layer.
plot.map("paraguay", keys: List("PY-ASU"), values: List(10.0))
    .projection("lambert_azimuthal_equal_area")
    .title("Paraguay: administrative regions")
    .caption("Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.")
    .show()

// Only the peru pack supplies this country administrative layer.
plot.map("peru", keys: List("PER-587"), values: List(10.0))
    .projection("lambert_azimuthal_equal_area")
    .title("Peru: administrative regions")
    .caption("Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.")
    .show()

// Only the suriname pack supplies this country administrative layer.
plot.map("suriname", keys: List("SR-PM"), values: List(10.0))
    .projection("lambert_azimuthal_equal_area")
    .title("Suriname: administrative regions")
    .caption("Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.")
    .show()

// Only the uruguay pack supplies this country administrative layer.
plot.map("uruguay", keys: List("UY-MO"), values: List(10.0))
    .projection("lambert_azimuthal_equal_area")
    .title("Uruguay: administrative regions")
    .caption("Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.")
    .show()

// Only the venezuela pack supplies this country administrative layer.
plot.map("venezuela", keys: List("VE-A"), values: List(10.0))
    .projection("lambert_azimuthal_equal_area")
    .title("Venezuela: administrative regions")
    .caption("Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.")
    .show()

Run step by step in VS Code.

The notebook separates observations and chart construction into cells. It opens with empty outputs and shared variables. Map cells state which optional local packs they need.

  1. Install a compatible native Aner executable and VS Code extension using the editor guide. Chart construction and interactive geographic navigation require the matching development runtime and editor.
  2. Download the .anernb notebook and open it in your VS Code project. If it appears as JSON, choose Reopen Editor With… → Aner Notebook.
  3. Select the Aner — notebook kernel and keep Shared variables active. Run code cells from top to bottom, or choose Run All. Later cells reuse observations and chart values from earlier cells. Run cells that need no pack before trying the optional geographic map.
  4. Read the figures below their producing cells. In geographic outputs, drag to pan and use the zoom controls to reveal crowded labels. Static SVG exports retain the initial view. Source observations, units and limitations remain in each caption.

After changing an earlier cell, rerun its dependent cells. Use Aner: Restart Notebook Session, then Run All, for a clean experiment. Saved outputs are historical; reopening the file starts without live variables. The notebook guide explains session state, inspection, and runtime controls.

Make it your experiment.

With a compatible development runtime installed, save this program as examples/plot_south_america.aner inside a folder for your experiment. Open a terminal in that folder, then check and run the program.

Terminal
aner check examples/plot_south_america.aner
aner run examples/plot_south_america.aner

The aner command must be on your PATH. Follow the installation guide if your terminal cannot find it.

Requires a chart enabled native Aner development runtime and a matching VS Code extension for notebook display and interactive geographic navigation. Aner Plot awaits a binary release and is not included in the published research preview. Development packages are not available on this website. Copy the required matching .anermap files to the computer and install them locally. Install south.america for the overview, then only the country packs needed: argentina, bolivia, brazil, chile, colombia, ecuador, guyana, paraguay, peru, suriname, uruguay and venezuela. All observations are included, and execution requires no network, credentials or external service. The website shows static native SVG figures; pan and zoom run in the compatible local notebook renderer.

Map pack status
aner maps list
aner maps path

Observations are synthetic teaching inputs. Geographic context comes from optional offline boundary packs and does not add street detail or establish observed traffic conditions.

Read the chart and map contracts
Install Aner