// deck.gl // SPDX-License-Identifier: MIT // Copyright (c) vis.gl contributors import React, {Component, createRef} from 'react'; import {DATA_URI, GITHUB_TREE} from '../constants/defaults'; import App from 'website-examples/mapbox/app'; import {makeExample} from '../components'; class MapboxDemo extends Component { static title = 'Who Is Visiting San Francisco?'; static code = `${GITHUB_TREE}/examples/website/mapbox`; static data = { url: `${DATA_URI}/safegraph.txt`, worker: '/workers/poi-data-decoder.js' }; static renderInfo(meta) { return (

Visitors to San Francisco businesses, grouped by their home census block group, during the first week of Feb 2020.

Click on a region to see where its visitors come from.

Data source: SafeGraph

); } _containerRef = createRef(); render() { const {data, ...otherProps} = this.props; return ; } } export default makeExample(MapboxDemo);