packages/showcase/showcase-links.js (96 lines of code) (raw):
export const REACTVIS_BASE_URL =
'https://github.com/uber/react-vis/blob/master/packages/react-vis';
export const SHOWCASE_BASE_URL =
'https://github.com/uber/react-vis/blob/master/packages/showcase';
export const SHOWCASE_LINKS = {
// AXES SHOW CASE LINKS
AxisOn0: `${SHOWCASE_BASE_URL}/axes/axis-on-0.js`,
CustomAxesOrientation: `${SHOWCASE_BASE_URL}/axes/custom-axes-orientation.js`,
CustomAxisChart: `${SHOWCASE_BASE_URL}/axes/custom-axis.js`,
CustomAxes: `${SHOWCASE_BASE_URL}/axes/custom-axes.js`,
AxisWithTurnedLabels: `${SHOWCASE_BASE_URL}/plot/axis-with-turned-labels.js`,
PaddedAxis: `${SHOWCASE_BASE_URL}/axes/padded-axis.js`,
// AXES - TOOLTIPS SHOW CASE LINKS
StaticHints: `${SHOWCASE_BASE_URL}/axes/static-hints.js`,
DynamicHints: `${SHOWCASE_BASE_URL}/axes/dynamic-hints.js`,
DynamicSimpleEdgeHints: `${SHOWCASE_BASE_URL}/axes/dynamic-simple-edge-hints.js`,
DynamicSimpleTopEdgeHints: `${SHOWCASE_BASE_URL}/axes/dynamic-simple-topedge-hints.js`,
DynamicProgrammaticRightEdgeHints: `${SHOWCASE_BASE_URL}/axes/dynamic-programmatic-rightedge-hints.js`,
DynamicComplexEdgeHints: `${SHOWCASE_BASE_URL}/axes/dynamic-complex-edge-hints.js`,
StaticCrosshair: `${SHOWCASE_BASE_URL}/axes/static-crosshair.js`,
DynamicCrosshair: `${SHOWCASE_BASE_URL}/axes/dynamic-crosshair.js`,
DynamicCrosshairScatterplot: `${SHOWCASE_BASE_URL}/axes/dynamic-crosshair-scatterplot.js`,
// AXES - DECORATIVE_AXES SHOWCASE LINKS
DecorativeAxisCrissCross: `${SHOWCASE_BASE_URL}/axes/decorative-axes-criss-cross.js`,
ParallelCoordinatesExample: `${SHOWCASE_BASE_URL}/axes/parallel-coordinates-example.js`,
// MISC SHOWCASE LINKS
SyncedCharts: `${SHOWCASE_BASE_URL}/misc/synced-charts.js`,
TimeChart: `${SHOWCASE_BASE_URL}/misc/time-chart.js`,
TriangleExample: `${SHOWCASE_BASE_URL}/misc/triangle-example.js`,
VoronoiLineChart: `${SHOWCASE_BASE_URL}/misc/voronoi-line-chart.js`,
GradientExample: `${SHOWCASE_BASE_URL}/misc/gradient-example.js`,
ClipExample: `${SHOWCASE_BASE_URL}/misc/clip-example.js`,
AnimationExample: `${SHOWCASE_BASE_URL}/misc/animation-example.js`,
LabelSeriesExample: `${SHOWCASE_BASE_URL}/misc/label-series-example.js`,
NullDataExample: `${SHOWCASE_BASE_URL}/misc/null-data-example.js`,
ZoomableChartExample: `${SHOWCASE_BASE_URL}/misc/zoomable-chart-example.js`,
SelectionPlotExample: `${SHOWCASE_BASE_URL}/misc/selection-plot-example.js`,
DragableChartExample: `${SHOWCASE_BASE_URL}/misc/dragable-chart-example.js`,
BidirectionDragChart: `${SHOWCASE_BASE_URL}/misc/2d-dragable-plot.js`,
// PARALLEL COORDS LINKS
BasicParallelCoordinates: `${SHOWCASE_BASE_URL}/parallel-coordinates/animated-parallel-coordinates.js`,
AnimatedParallelCoordinates: `${SHOWCASE_BASE_URL}/parallel-coordinates/basic-parallel-coordinates.js`,
// PLOTS SHOWCASE LINKES
LineChart: `${SHOWCASE_BASE_URL}/plot/line-chart.js`,
LineChartWithStyle: `${SHOWCASE_BASE_URL}/plot/line-chart-with-style.js`,
LineMarkChart: `${SHOWCASE_BASE_URL}/plot/linemark-chart.js`,
LineChartCanvas: `${SHOWCASE_BASE_URL}/plot/line-chart-canvas.js`,
LineChartManyColors: `${SHOWCASE_BASE_URL}/color/line-chart-many-colors.js`,
ScatterplotChart: `${SHOWCASE_BASE_URL}/plot/scatterplot.js`,
ScatterplotCanvas: `${SHOWCASE_BASE_URL}/plot/scatterplot-canvas.js`,
WhiskerChart: `${SHOWCASE_BASE_URL}/plot/whisker-chart.js`,
AreaChart: `${SHOWCASE_BASE_URL}/plot/area-chart.js`,
AreaChartElevated: `${SHOWCASE_BASE_URL}/plot/area-chart-elevated.js`,
BarChart: `${SHOWCASE_BASE_URL}/plot/bar-chart.js`,
BigBaseBarChart: `${SHOWCASE_BASE_URL}/plot/big-base-bar-chart.js`,
StackedHorizontalBarChart: `${SHOWCASE_BASE_URL}/plot/stacked-horizontal-bar-chart.js`,
StackedVerticalBarChart: `${SHOWCASE_BASE_URL}/plot/stacked-vertical-bar-chart.js`,
ClusteredStackedVerticalBarChart: `${SHOWCASE_BASE_URL}/plot/clustered-stacked-bar-chart.js`,
StackedHistogram: `${SHOWCASE_BASE_URL}/plot/stacked-histogram.js`,
Histogram: `${SHOWCASE_BASE_URL}/plot/histogram.js`,
HeatmapChart: `${SHOWCASE_BASE_URL}/plot/heatmap-chart.js`,
HexHeatmap: `${SHOWCASE_BASE_URL}/plot/hex-heatmap.js`,
HexbinSizeExample: `${SHOWCASE_BASE_URL}/plot/hexbin-size-example.js`,
LabeledHeatmap: `${SHOWCASE_BASE_URL}/plot/labeled-heatmap.js`,
ContourSeriesExample: `${SHOWCASE_BASE_URL}/plot/contour-series-example.js`,
CustomSVGExample: `${SHOWCASE_BASE_URL}/plot/custom-svg-example.js`,
CustomSVGAllTheMarks: `${SHOWCASE_BASE_URL}/plot/custom-svg-all-the-marks.js`,
CustomSVGRootLevel: `${SHOWCASE_BASE_URL}/plot/custom-svg-root-level.js`,
// BASIC COMPONENTS SHOWCASE LINKS
WidthHeightMarginChart: `${SHOWCASE_BASE_URL}/plot/width-height-margin.js`,
CustomScales: `${SHOWCASE_BASE_URL}/plot/custom-scales.js`,
GridLinesChart: `${SHOWCASE_BASE_URL}/plot/grid.js`,
FauxScatterplotChart: `${SHOWCASE_BASE_URL}/plot/faux-radial-scatterplot.js`,
EmptyChart: `${SHOWCASE_BASE_URL}/axes/empty-chart.js`,
// RADAR CHART SHOWCASE LINKS
AnimatedRadarChart: `${SHOWCASE_BASE_URL}/radar-chart/animated-radar-chart.js`,
BasicRadarChart: `${SHOWCASE_BASE_URL}/radar-chart/basic-radar-chart.js`,
FourQuadrantRadarChart: `${SHOWCASE_BASE_URL}/radar-chart/four-quadrant-radar-chart.js`,
RadarChartWithTooltips: `${SHOWCASE_BASE_URL}/radar-chart/radar-chart-with-tooltips.js`,
RadarChartSeriesTooltips: `${SHOWCASE_BASE_URL}/radar-chart/radar-chart-series-tooltips.js`,
// RADIAL CHART SHOWCASE LINKS
SimpleRadialChart: `${SHOWCASE_BASE_URL}/radial-chart/simple-radial-chart.js`,
GradientPie: `${SHOWCASE_BASE_URL}/radial-chart/gradient-pie.js`,
DonutChartExample: `${SHOWCASE_BASE_URL}/radial-chart/donut-chart.js`,
CustomRadiusRadialChart: `${SHOWCASE_BASE_URL}/radial-chart/custom-radius-radial-chart.js`,
// SANKEY SHOWCASE LINKS
BasicSankeyExample: `${SHOWCASE_BASE_URL}/sankey/basic.js`,
VoronoiSankeyExample: `${SHOWCASE_BASE_URL}/sankey/voronoi.js`,
LinkEventSankeyExample: `${SHOWCASE_BASE_URL}/sankey/link-event.js`,
LinkHintSankeyExample: `${SHOWCASE_BASE_URL}/sankey/link-hint.js`,
EnergySankeyExample: `${SHOWCASE_BASE_URL}/sankey/energy-sankey.js`,
// SUNBURST SHOWCASE LINKS
ArcSeriesExample: `${SHOWCASE_BASE_URL}/radial-chart/arc-series-example.js`,
BasicSunburst: `${SHOWCASE_BASE_URL}/sunbursts/basic-sunburst.js`,
ClockExample: `${SHOWCASE_BASE_URL}/sunbursts/clock-example.js`,
AnimatedSunburst: `${SHOWCASE_BASE_URL}/sunbursts/animated-sunburst.js`,
SunburstWithTooltips: `${SHOWCASE_BASE_URL}/sunbursts/sunburst-with-tooltips.js`,
// TREEMAP SHOWCASE LINKS
SimpleTreemap: `${SHOWCASE_BASE_URL}/treemap/simple-treemap.js`,
TreemapExample: `${SHOWCASE_BASE_URL}/treemap/dynamic-treemap.js`,
// LEGENDS SHOWCASE LINKS
VerticalDiscreteColorLegendExample: `${SHOWCASE_BASE_URL}/legends/vertical-discrete-color.js`,
HorizontalDiscreteColorLegendExample: `${SHOWCASE_BASE_URL}/legends/horizontal-discrete-color.js`,
HorizontalDiscreteCustomPalette: `${SHOWCASE_BASE_URL}/legends/horizontal-discrete-custom-palette.js`,
SearchableDiscreteColorLegendExample: `${SHOWCASE_BASE_URL}/legends/searchable-discrete-color.js`,
// eslint-disable-next-line max-len
SearchableDiscreteColorLegendHoverExample: `${SHOWCASE_BASE_URL}/legends/searchable-discrete-color-hover.js`,
ContinuousColorLegendExample: `${SHOWCASE_BASE_URL}/legends/continuous-color.js`,
ContinuousSizeLegendExample: `${SHOWCASE_BASE_URL}/legends/continuous-size.js'`
};