<gh_stars>100-1000
/*
 * This file is part of the nivo project.
 *
 * (c) 2016 <NAME>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
'use strict'
const { generateCountriesData } = require('nivo-generators')

const keys = [
    'hot dogs',
    'burgers',
    'sandwich',
    'kebab',
    'fries',
    'donut',
    'junk',
    'sushi',
    'ramen',
    'curry',
    'udon',
    'bagel',
]

module.exports = {
    type: 'heatmap',
    props: {
        width: 900,
        height: 600,
        data: generateCountriesData(keys, { size: 9, min: 0, max: 100 }),
        keys,
        indexBy: 'country',
        forceSquare: true,
        cellShape: 'circle',
        cellBorderWidth: 2,
        cellBorderColor: 'inherit:darker(0.4)',
        padding: 4,
        sizeVariation: 0.5,
        enableGridY: true,
        labelTextColor: 'inherit:darker(2.4)',
        colors: 'PuOr',
    },
}
