@google/dscc
Version:
`dscc` (Data Studio Community Component) is a library to help with the building of community components for Google Data Studio. It can be used as a standalone library, or as a npm dependency.
52 lines (51 loc) • 870 B
JavaScript
/**
* This file provides the mock "data" received
* by your visualization code when you develop
* locally.
*
*/
export const message = {
tables: {
DEFAULT: [
{
dimID: ['25-54'],
metricID: [128863172],
},
{
dimID: ['0-14'],
metricID: [61175933],
},
{
dimID: ['65+'],
metricID: [51055052],
},
{
dimID: ['15-24'],
metricID: [43351778],
},
{
dimID: ['55-64'],
metricID: [42179856],
},
],
},
fields: {
dimID: [
{
id: 'qt_nzqx6a0xvb',
name: 'Age Group',
type: 'TEXT',
concept: 'DIMENSION',
},
],
metricID: [
{
id: 'qt_8isx6a0xvb',
name: 'Population',
type: 'NUMBER',
concept: 'METRIC',
},
],
},
style: {},
};