Renderer: SVG overlay on MapboxJS
Module: vizart-geo
Data: Sales performance per U.S. states
Doc: API
import { choropleth } from 'vizart-geo'; import 'vizart-geo/dist/vizart-geo.css'; const chart = choropleth('#chart', { data: { x: { name: 'states', type: 'string', accessor: 'name'} , y: [ { name: 'sales', type: 'number', accessor: 'sales'} ], } }); d3.json('./data/sales_us.json', function(data){ chart.render(data); });