Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @superset-ui/legacy-plugin-chart-country-map with all npm packages installed. Try it out:

require("@superset-ui/chart/package.json"); // @superset-ui/chart is a peer dependency. require("@superset-ui/color/package.json"); // @superset-ui/color is a peer dependency. require("@superset-ui/number-format/package.json"); // @superset-ui/number-format is a peer dependency. require("@superset-ui/translation/package.json"); // @superset-ui/translation is a peer dependency. var legacyPluginChartCountryMap = require("@superset-ui/legacy-plugin-chart-country-map")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@superset-ui/legacy-plugin-chart-country-map v0.11.12

Superset Legacy Chart - Country Map

@superset-ui/legacy-plugin-chart-country-map

Version David (path)

This plugin provides Country Map for Superset.

Usage

Configure key, which can be any string, and register the plugin. This key will be used to lookup this chart throughout the app.

import CountryMapChartPlugin from '@superset-ui/legacy-plugin-chart-country-map';

new CountryMapChartPlugin()
  .configure({ key: 'country-map' })
  .register();

Then use it via SuperChart. See storybook for more details.

<SuperChart
  chartType="country-map"
  width={600}
  height={600}
  formData={...}
  queryData={{
    data: {...},
  }}
/>
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free