https://github.com/zcreativelabs/react-simple-maps-canvas
Declarative canvas mapcharts for react.
https://github.com/zcreativelabs/react-simple-maps-canvas
Last synced: about 1 year ago
JSON representation
Declarative canvas mapcharts for react.
- Host: GitHub
- URL: https://github.com/zcreativelabs/react-simple-maps-canvas
- Owner: zcreativelabs
- Created: 2020-01-04T22:26:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-20T19:34:00.000Z (almost 4 years ago)
- Last Synced: 2025-03-29T17:01:23.615Z (about 1 year ago)
- Language: JavaScript
- Size: 104 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React Mapchart
!WIP: The aim of this react component library is to render mapcharts to canvas using a simple declarative api similar to [react-simple-maps](https://www.react-simple-maps.io/).
```jsx
import { CanvasMap, Geographies, Geography } from "react-mapchart"
const MyMap = () => {
return (
{({geographies, highlighted}) =>
geographies.map(geo =>
)
}
)
}
```