Choropleth

A choropleth chart renders geographical data in GeoJSON polygons layout. The chart has two fields:

  • code: String. This represents the Alpha-3 country code of the region to be used. Alpha-2 it’s not supported.

  • value: Number. Cardinal data to be used on the chart.

Examples

Basic choropleth

MATCH p=(n:Wine)-[:IS_FROM|PART_OF*]->(c:Country)
WITH DISTINCT c.iso3 as country, count(DISTINCT n) as wines
RETURN country, wines
Choropleth Chart

Advanced settings

Name Type Default value Description

Enable interactivity

on/off

on

If set, turns on animations when a user hovers over a polygon.

Color Scheme

List

The color scheme to use for the choropleth. Country colors vary according their min to max ratio.

Polygon border width (px)

Number

0

The width of the border of each rectangle.

Margin Left (px)

Number

24

The margin in pixels on the left side of the visualization.

Margin Right (px)

Number

24

The margin in pixels on the right side of the visualization.

Margin Top (px)

Number

24

The margin in pixels on the top side of the visualization.

Margin Bottom (px)

Number

40

The margin in pixels on the bottom side of the visualization.

Country Code Format

List

iso_a3

ISO standard used for country codes.

Projection Scale

Number

100

Projection scale of the visualization.

Projection x translation

Number

0.5

This parameter moves the center of the visualization on the x axis.

Projection y translation

Number

0.5

This parameter moves the center of the visualization on the y axis.

Auto-run query

on/off

on

If set, automatically runs the query when the report is displayed. Otherwise, the query is displayed and must be executed manually.

Report Description

Markdown text

If set, adds a button to the report header that opens a pop-up. The pop-up contains the rendered Markdown from this setting.