airbnb/caravel

View on GitHub
superset-frontend/packages/superset-ui-demo/storybook/stories/plugins/legacy-plugin-chart-partition/data.ts

Summary

Maintainability
A
3 hrs
Test Coverage
/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

export default [
  {
    name: 'World',
    val: 165709793794.0,
    children: [
      {
        name: 'East Asia & Pacific',
        val: 74157936990.0,
        children: [
          {
            name: 'CHN',
            val: 58345455000.0,
            children: [],
          },
          {
            name: 'IDN',
            val: 9357861231.0,
            children: [],
          },
          {
            name: 'JPN',
            val: 6454620759.0,
            children: [],
          },
        ],
      },
      {
        name: 'Europe & Central Asia',
        val: 7667188460.0,
        children: [
          {
            name: 'RUS',
            val: 7667188460.0,
            children: [],
          },
        ],
      },
      {
        name: 'Latin America & Caribbean',
        val: 7752058955.0,
        children: [
          {
            name: 'BRA',
            val: 7752058955.0,
            children: [],
          },
        ],
      },
      {
        name: 'North America',
        val: 13604468357.0,
        children: [
          {
            name: 'USA',
            val: 13604468357.0,
            children: [],
          },
        ],
      },
      {
        name: 'South Asia',
        val: 57268340539.0,
        children: [
          {
            name: 'BGD',
            val: 5549261462.0,
            children: [],
          },
          {
            name: 'IND',
            val: 46023037597.0,
            children: [],
          },
          {
            name: 'PAK',
            val: 5696041480.0,
            children: [],
          },
        ],
      },
      {
        name: 'Sub-Saharan Africa',
        val: 5259800493.0,
        children: [
          {
            name: 'NGA',
            val: 5259800493.0,
            children: [],
          },
        ],
      },
    ],
  },
];