chore: Add example charts for deck.gl (#25770)

Signed-off-by: Willie Hung <willie880201044@gmail.com>
This commit is contained in:
Willie Hung 2024-01-03 06:46:21 -06:00 committed by GitHub
parent 9033e72679
commit 113a8a381c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 23 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

View File

@ -18,6 +18,7 @@
*/
import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
import thumbnail from './images/thumbnail.png';
import example from './images/example.png';
import transformProps from '../transformProps';
import controlPanel from './controlPanel';
@ -25,6 +26,7 @@ const metadata = new ChartMetadata({
category: t('Map'),
credits: ['https://uber.github.io/deck.gl'],
description: t('Compose multiple layers together to form complex visuals.'),
exampleGallery: [{ url: example }],
name: t('deck.gl Multiple Layers'),
thumbnail,
useLegacyApi: true,

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

View File

@ -18,6 +18,7 @@
*/
import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
import thumbnail from './images/thumbnail.png';
import example from './images/example.png';
import transformProps from '../../transformProps';
import controlPanel from './controlPanel';
@ -29,6 +30,7 @@ const metadata = new ChartMetadata({
),
name: t('deck.gl Arc'),
thumbnail,
exampleGallery: [{ url: example }],
useLegacyApi: true,
tags: [t('deckGL'), t('Geo'), t('3D'), t('Relational'), t('Web')],
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

View File

@ -20,6 +20,7 @@ import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
import transformProps from '../../transformProps';
import controlPanel from './controlPanel';
import thumbnail from './images/thumbnail.png';
import example from './images/example.png';
const metadata = new ChartMetadata({
category: t('Map'),
@ -27,7 +28,8 @@ const metadata = new ChartMetadata({
description: t(
'Uses Gaussian Kernel Density Estimation to visualize spatial distribution of data',
),
name: t('deck.gl Countour'),
exampleGallery: [{ url: example }],
name: t('deck.gl Contour'),
thumbnail,
useLegacyApi: true,
tags: [t('deckGL'), t('Spatial'), t('Comparison'), t('Experimental')],

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

View File

@ -18,6 +18,7 @@
*/
import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
import thumbnail from './images/thumbnail.png';
import example from './images/example.png';
import transformProps from '../../transformProps';
import controlPanel from './controlPanel';
@ -27,6 +28,7 @@ const metadata = new ChartMetadata({
description: t(
'The GeoJsonLayer takes in GeoJSON formatted data and renders it as interactive polygons, lines and points (circles, icons and/or texts).',
),
exampleGallery: [{ url: example }],
name: t('deck.gl Geojson'),
thumbnail,
useLegacyApi: true,

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 KiB

View File

@ -18,6 +18,7 @@
*/
import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
import thumbnail from './images/thumbnail.png';
import example from './images/example.png';
import transformProps from '../../transformProps';
import controlPanel from './controlPanel';
@ -29,6 +30,7 @@ const metadata = new ChartMetadata({
),
name: t('deck.gl Grid'),
thumbnail,
exampleGallery: [{ url: example }],
useLegacyApi: true,
tags: [t('deckGL'), t('3D'), t('Comparison'), t('Experimental')],
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 KiB

View File

@ -20,6 +20,7 @@ import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
import transformProps from '../../transformProps';
import controlPanel from './controlPanel';
import thumbnail from './images/thumbnail.png';
import example from './images/example.png';
const metadata = new ChartMetadata({
category: t('Map'),
@ -27,6 +28,7 @@ const metadata = new ChartMetadata({
description: t(
'Uses Gaussian Kernel Density Estimation to visualize spatial distribution of data',
),
exampleGallery: [{ url: example }],
name: t('deck.gl Heatmap'),
thumbnail,
useLegacyApi: true,

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 KiB

View File

@ -18,6 +18,7 @@
*/
import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
import thumbnail from './images/thumbnail.png';
import example from './images/example.png';
import transformProps from '../../transformProps';
import controlPanel from './controlPanel';
@ -27,6 +28,7 @@ const metadata = new ChartMetadata({
description: t(
'Overlays a hexagonal grid on a map, and aggregates data within the boundary of each cell.',
),
exampleGallery: [{ url: example }],
name: t('deck.gl 3D Hexagon'),
thumbnail,
useLegacyApi: true,

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

View File

@ -18,6 +18,7 @@
*/
import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
import thumbnail from './images/thumbnail.png';
import example from './images/example.png';
import transformProps from '../../transformProps';
import controlPanel from './controlPanel';
@ -27,6 +28,7 @@ const metadata = new ChartMetadata({
description: t('Visualizes connected points, which form a path, on a map.'),
name: t('deck.gl Path'),
thumbnail,
exampleGallery: [{ url: example }],
useLegacyApi: true,
tags: [t('deckGL'), t('Web')],
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

View File

@ -18,6 +18,7 @@
*/
import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
import thumbnail from './images/thumbnail.png';
import example from './images/example.png';
import transformProps from '../../transformProps';
import controlPanel from './controlPanel';
@ -29,6 +30,7 @@ const metadata = new ChartMetadata({
),
name: t('deck.gl Polygon'),
thumbnail,
exampleGallery: [{ url: example }],
useLegacyApi: true,
tags: [
t('deckGL'),

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

View File

@ -18,6 +18,7 @@
*/
import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
import thumbnail from './images/thumbnail.png';
import example from './images/example.png';
import transformProps from '../../transformProps';
import controlPanel from './controlPanel';
@ -29,6 +30,7 @@ const metadata = new ChartMetadata({
),
name: t('deck.gl Scatterplot'),
thumbnail,
exampleGallery: [{ url: example }],
useLegacyApi: true,
tags: [
t('deckGL'),

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

View File

@ -18,6 +18,7 @@
*/
import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
import thumbnail from './images/thumbnail.png';
import example from './images/example.png';
import transformProps from '../../transformProps';
import controlPanel from './controlPanel';
@ -29,6 +30,7 @@ const metadata = new ChartMetadata({
),
name: t('deck.gl Screen Grid'),
thumbnail,
exampleGallery: [{ url: example }],
useLegacyApi: true,
tags: [
t('deckGL'),