# 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
```bash
pip install canvas_data_map
```
## Usage
To learn how to use Canvas, see the [documentation](https://satishlokkoju.github.io/deepview/).
Raw data
{
"_id": null,
"home_page": "https://github.com/satishlokkoju/deepview",
"name": "canvas-data-map",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "Jupyter, Widgets, IPython",
"author": "Satish Lokkoju",
"author_email": "satish.lokkoju@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/9c/76/aeee8bc43a1029fafa28b2b12ae4c64eb0a030f7acf7ad4536a1f087995b/canvas_data_map-3.6.0.tar.gz",
"platform": "Linux",
"description": "# CanvasDataMap\n\nA rendered map where landmarks are colored by another variable.\nTo configure the map, the spec of this component is defined as follows:\n\n```\n@dataclass\nclass DataMapSpec(WidgetSpec):\n projection: str\n id_map: dict\n feature: str\n id_column: str\n map_url: str\n```\n\nThe 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.\n\n## Installation\n\n```bash\npip install canvas_data_map\n```\n\n## Usage\n\nTo learn how to use Canvas, see the [documentation](https://satishlokkoju.github.io/deepview/).\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "A Canvas component for visualizing data on a map",
"version": "3.6.0",
"project_urls": {
"Homepage": "https://github.com/satishlokkoju/deepview"
},
"split_keywords": [
"jupyter",
" widgets",
" ipython"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a83dcb4e93f81ab7a9b028af37a6a930584ae928bb297cf0e5a38af0469dd3dc",
"md5": "08bef68958ba549b5dffa4f505f97d72",
"sha256": "cc0bb5ce2c35a2d0e604d07bc22fcfffa8532e61a6e93fe486a002b7252adf24"
},
"downloads": -1,
"filename": "canvas_data_map-3.6.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "08bef68958ba549b5dffa4f505f97d72",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.8",
"size": 71232148,
"upload_time": "2025-01-15T19:32:00",
"upload_time_iso_8601": "2025-01-15T19:32:00.999910Z",
"url": "https://files.pythonhosted.org/packages/a8/3d/cb4e93f81ab7a9b028af37a6a930584ae928bb297cf0e5a38af0469dd3dc/canvas_data_map-3.6.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9c76aeee8bc43a1029fafa28b2b12ae4c64eb0a030f7acf7ad4536a1f087995b",
"md5": "04798f5fe5fcc309a76bcbbf9759fb7d",
"sha256": "9118d74135ad101b8cec5061d7a9f9053537a832e9ebd35940b9cf48f5b9ffca"
},
"downloads": -1,
"filename": "canvas_data_map-3.6.0.tar.gz",
"has_sig": false,
"md5_digest": "04798f5fe5fcc309a76bcbbf9759fb7d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 3470391,
"upload_time": "2025-01-15T19:32:08",
"upload_time_iso_8601": "2025-01-15T19:32:08.770725Z",
"url": "https://files.pythonhosted.org/packages/9c/76/aeee8bc43a1029fafa28b2b12ae4c64eb0a030f7acf7ad4536a1f087995b/canvas_data_map-3.6.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-15 19:32:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "satishlokkoju",
"github_project": "deepview",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "canvas-data-map"
}