Treemap

Word Cloud

      
import treemap from 'daisy-chart/src/layouts/treemap';
import data from './data/big_city.json';

treemap().data(data)
  .name('treemap')
  .container('#daisy-example')
  .dimensions(['국가'])
  .measures([{field: '국가 대비 비중 (%)', op: 'sum'}])
  .label(true)
  .shape('word')
  .legend(true)
  .render();