Skip to main content

CanvasDataMap

A rendered map where landmarks are colored by another variable. To configure the map, the spec of this component is defined as follows:

@dataclass
class DataMapSpec(WidgetSpec):
    projection: str
    id_map: dict
    feature: str
    id_column: str
    map_url: str

The projection is a vega-projection, the id_map maps names to multiple id in a TopoJSON, the feature defines what column to color by, the id_column defines where names are to be found, and the map_url provides a link to the appropriate TopoJSON.

Installation

pip install canvas_data_map

Usage

To learn how to use Canvas, see the documentation.

Metadata

Release files for canvas-data-map 3.9.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for canvas-data-map 3.9.6
File Size Uploaded
canvas_data_map-3.9.6.tar.gz 3.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for canvas-data-map 3.9.6
File Interpreter ABI Platform
canvas_data_map-3.9.6-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 7.8 MB

Release files / canvas_data_map-3.9.6.tar.gz

Download URL canvas_data_map-3.9.6.tar.gz
Size 3.4 MB
Tags Source
SHA-256 checksum
How to use checksums
291b80c080d5629c7eb2033c7bbce539b4e08c91aa728b07b7e1bb0b6d4a4447
BLAKE2b-256 checksum
How to use checksums
6264e7d71b55fc977df2c13f3b30417191950885cf2a9e3e7242a4b756d7682e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.16

Release files / canvas_data_map-3.9.6-py2.py3-none-any.whl

Download URL canvas_data_map-3.9.6-py2.py3-none-any.whl
Size 4.4 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ecbe77ad6eccd1f4a82876c40ba6fe88e599b7bcb862c6c095f63762939b0f31
BLAKE2b-256 checksum
How to use checksums
7db8e2e9183800b844d774785c724ac0ede36a0f4c410d32860ca1300967ee40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.10.16

Release history Release notifications | RSS feed

This release

3.9.6 This release

2 release files

3.9.5

2 release files

3.9.0

2 release files

3.8.0

2 release files

3.7.1

2 release files

3.7.0

2 release files

3.6.0

2 release files

3.5.0

2 release files

1.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page