Skip to content

Commit

Permalink
chore: Add example charts for deck.gl (apache#25770)
Browse files Browse the repository at this point in the history
Signed-off-by: Willie Hung <willie880201044@gmail.com>
  • Loading branch information
willie-hung authored and sivasathyaseeelan committed Jan 3, 2024
1 parent b0fa8ac commit af29bd2
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 16 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@
*/
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';

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,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
*/
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 example1 from './images/example1.png';
import example2 from './images/example2.png';
import controlPanel from './controlPanel';

const metadata = new ChartMetadata({
Expand All @@ -29,9 +28,9 @@ const metadata = new ChartMetadata({
description: t(
'Plot the distance (like flight paths) between origin and destination.',
),
exampleGallery: [{ url: example1 }, { url: example2 }],
name: t('deck.gl Arc'),
thumbnail,
exampleGallery: [{ url: example }],
useLegacyApi: true,
tags: [t('deckGL'), t('Geo'), t('3D'), t('Relational'), t('Web')],
});
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,16 @@ import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
import transformProps from '../../transformProps';
import controlPanel from './controlPanel';
import thumbnail from './images/thumbnail.png';
import example1 from './images/example1.png';
import example2 from './images/example2.png';
import example from './images/example.png';

const metadata = new ChartMetadata({
category: t('Map'),
credits: ['https://uber.github.io/deck.gl'],
description: t(
'Uses Gaussian Kernel Density Estimation to visualize spatial distribution of data',
),
exampleGallery: [{ url: example1 }, { url: example2 }],
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')],
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
*/
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 example1 from './images/example1.png';
import example2 from './images/example2.png';
import controlPanel from './controlPanel';

const metadata = new ChartMetadata({
Expand All @@ -29,7 +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: example1 }, { url: example2 }],
exampleGallery: [{ url: example }],
name: t('deck.gl Geojson'),
thumbnail,
useLegacyApi: true,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -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 example1 from './images/example1.png';
import controlPanel from './controlPanel';
Expand All @@ -31,6 +32,7 @@ const metadata = new ChartMetadata({
exampleGallery: [{ url: example1 }],
name: t('deck.gl Grid'),
thumbnail,
exampleGallery: [{ url: example }],
useLegacyApi: true,
tags: [t('deckGL'), t('3D'), t('Comparison'), t('Experimental')],
});
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,16 @@
import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
import transformProps from '../../transformProps';
import controlPanel from './controlPanel';
import example1 from './images/example1.png';
import example2 from './images/example2.png';
import thumbnail from './images/thumbnail.png';
import example from './images/example.png';

const metadata = new ChartMetadata({
category: t('Map'),
credits: ['https://uber.github.io/deck.gl'],
description: t(
'Uses Gaussian Kernel Density Estimation to visualize spatial distribution of data',
),
exampleGallery: [{ url: example1 }, { url: example2 }],
exampleGallery: [{ url: example }],
name: t('deck.gl Heatmap'),
thumbnail,
useLegacyApi: true,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
*/
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 example1 from './images/example1.png';
import example2 from './images/example2.png';
import controlPanel from './controlPanel';

const metadata = new ChartMetadata({
Expand All @@ -29,7 +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: example1 }, { url: example2 }],
exampleGallery: [{ url: example }],
name: t('deck.gl 3D Hexagon'),
thumbnail,
useLegacyApi: true,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -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 example1 from './images/example1.png';
import controlPanel from './controlPanel';
Expand All @@ -29,6 +30,7 @@ const metadata = new ChartMetadata({
exampleGallery: [{ url: example1 }],
name: t('deck.gl Path'),
thumbnail,
exampleGallery: [{ url: example }],
useLegacyApi: true,
tags: [t('deckGL'), t('Web')],
});
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -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 example1 from './images/example1.png';
import controlPanel from './controlPanel';
Expand All @@ -31,6 +32,7 @@ const metadata = new ChartMetadata({
exampleGallery: [{ url: example1 }],
name: t('deck.gl Polygon'),
thumbnail,
exampleGallery: [{ url: example }],
useLegacyApi: true,
tags: [
t('deckGL'),
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -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 example1 from './images/example1.png';
import example2 from './images/example2.png';
Expand All @@ -32,6 +33,7 @@ const metadata = new ChartMetadata({
exampleGallery: [{ url: example1 }, { url: example2 }],
name: t('deck.gl Scatterplot'),
thumbnail,
exampleGallery: [{ url: example }],
useLegacyApi: true,
tags: [
t('deckGL'),
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -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 example1 from './images/example1.png';
import example2 from './images/example2.png';
Expand All @@ -32,6 +33,7 @@ const metadata = new ChartMetadata({
exampleGallery: [{ url: example1 }, { url: example2 }],
name: t('deck.gl Screen Grid'),
thumbnail,
exampleGallery: [{ url: example }],
useLegacyApi: true,
tags: [
t('deckGL'),
Expand Down

0 comments on commit af29bd2

Please sign in to comment.