A Canvas component for visualizing data on a map
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file canvas_data_map-3.8.0.tar.gz.
File metadata
- Download URL: canvas_data_map-3.8.0.tar.gz
- Upload date:
- Size: 3.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c73d27cc815841b83cf101b408acb8a5ee03db6810014ba9a78ddf693b855884
|
|
| MD5 |
c0ce389a1836b08ad738d0bc7952cbcf
|
|
| BLAKE2b-256 |
01fb8408153e9bea3546c7bc36c5fd54bfb39d1bea0d05b62423eff7667d15ac
|
File details
Details for the file canvas_data_map-3.8.0-py2.py3-none-any.whl.
File metadata
- Download URL: canvas_data_map-3.8.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.4 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b736085c675de4ea578bc97ac92a852d3c52b3e6bdad1b2db699ceaaa5a68ad
|
|
| MD5 |
6517d252a8c5b41a619ee5f658f9fb8a
|
|
| BLAKE2b-256 |
435e4635ae2dfd4b9aa8ac0e27c5d94396ee9a392c26aeb87da99ecc7eb1b84b
|