Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Superset | 54,269 | 16 | 19 hours ago | 6 | April 18, 2023 | 1,493 | apache-2.0 | TypeScript | ||
Apache Superset is a Data Visualization and Data Exploration Platform | ||||||||||
Recharts | 21,089 | 3,502 | 1,046 | 20 hours ago | 215 | June 22, 2023 | 482 | mit | TypeScript | |
Redefined chart library built with React and D3 | ||||||||||
Dash | 19,381 | 804 | 544 | 2 days ago | 168 | June 29, 2023 | 775 | mit | Python | |
Data Apps & Dashboards for Python. No JavaScript Required. | ||||||||||
Visx | 17,764 | 86 | 4 days ago | 32 | July 11, 2023 | 136 | mit | TypeScript | ||
🐯 visx | visualization components | ||||||||||
Nivo | 11,880 | 151 | 191 | 4 days ago | 69 | May 07, 2023 | 113 | mit | TypeScript | |
nivo provides a rich set of dataviz components, built on top of the awesome d3 and React libraries | ||||||||||
Victory | 10,489 | 686 | 232 | 14 days ago | 236 | June 13, 2023 | 289 | other | JavaScript | |
A collection of composable React components for building interactive data visualizations | ||||||||||
React Vis | 8,501 | 524 | 140 | 4 months ago | 108 | June 08, 2023 | 338 | mit | JavaScript | |
Data Visualization Components | ||||||||||
React Map Gl | 7,308 | 725 | 328 | 12 days ago | 280 | July 20, 2023 | 50 | other | TypeScript | |
React friendly API wrapper around MapboxGL JS | ||||||||||
React Chartjs 2 | 6,104 | 3,362 | 786 | 4 days ago | 84 | January 09, 2023 | 84 | mit | TypeScript | |
React components for Chart.js, the most popular charting library | ||||||||||
Bizcharts | 6,015 | 616 | 684 | 7 months ago | 238 | November 30, 2022 | 333 | mit | TypeScript | |
Powerful data visualization library based on G2 and React. |
react-map-gl
is a suite of React components designed to provide a React API for mapbox-gl or maplibre-gl. More information in the online documentation.
See our Design Philosophy.
Using react-map-gl
requires react >= 16.3
.
npm install --save react-map-gl mapbox-gl
import * as React from 'react';
import Map from 'react-map-gl';
function App() {
return <Map
mapLib={import('mapbox-gl')}
initialViewState={{
longitude: -100,
latitude: 40,
zoom: 3.5
}}
style={{width: 600, height: 400}}
mapStyle="mapbox://styles/mapbox/streets-v9"
/>;
}
Starting with v2.0, mapbox-gl requires a Mapbox token for any usage, with or without the Mapbox data service. See about Mapbox tokens for your options.
To show maps from a service such as Mapbox you will need to register on their website in order to retrieve an access token required by the map component, which will be used to identify you and start serving up map tiles. The service will be free until a certain level of traffic is exceeded.
There are several ways to provide a token to your app, as showcased in some of the example folders:
mapboxAccessToken
prop to the map componentMapboxAccessToken
environment variable (or set REACT_APP_MAPBOX_ACCESS_TOKEN
if you are using Create React App)?access_token=TOKEN
See contribution guide.
react-map-gl is part of vis.gl, an Urban Computing Foundation project.
Development is also supported by