Reduce number of examples
See original GitHub issue##Β Context
We have been improving the examples for a while, adding lots of examples. But some examples should probably be removed.
I have seen 3 issues:
- Orphan examples that are not referenced anywhere (sometimes those should be moved to
debug/
- Duplicated examples. Maybe itβs not identical, but it may not make sense to keep it anyway
- Unrecommended practices. Every example should show expected usage, not corner cases nor borderline API usage
- General style and design. Iβve seen examples with calls to
alert()
Examples list
Updated
β misc/edit-sql-expressions.html β misc/legends/legend-numeric-chart.html β misc/legends/legend-image.html β misc/legends/legend-classifier.html β misc/legends/legend-top.html β misc/legends/legend-buckets.html β misc/legends/legend-lines.html β misc/legends/legend-polygon.html β misc/legends/legend-categorical-chart.html β misc/legends/legend-base.html β misc/legends/legend-number.html β misc/legends/legend-stroke.html β misc/legends/poly-legend-ma.html β misc/populated-places.html β misc/widgets/viewportAgg.html β basics/boilerplate.html β basics/add-layer.html β basics/query-layer.html β basics/multiple-layers.html β basics/basic-style.html β basics/browser-support.html β basics/select-layer.html β advanced/hurricane-harvey.html β advanced/us-population-by-county.html β advanced/interactive-filter.html β advanced/landing-page/hurricane-harvey.html β advanced/landing-page/detroit-development.html β advanced/landing-page/rivers.html β advanced/landing-page/spend-data.html β advanced/landing-page/us-population-by-country.html β advanced/denver-trees.html β advanced/taxi-pickups.html β advanced/ocean-bathymetry.html β advanced/classification-variables.html β advanced/external-geojson.html β basemap/pitch-bearing.html β basemap/basemap-labels-on-top.html β basemap/basemap-labels-under.html β basemap/color-map-background.html β basemap/project-layer.html β index.html β legends/choropleth-legend.html β legends/category-line-legend.html β legends/image-legend.html β legends/unclassed-point-legend.html β legends/category-point-legend.html β legends/feature-and-legend-opacity.html β labeling/point-labels-size-zoom.html β labeling/polygon-labels.html β labeling/point-labels.html β labeling/point-labels-conditional-style.html β labeling/cluster-labels-average.html β labeling/cluster-labels-count.html β interactivity/hover.html β interactivity/interactive-images.html β interactivity/interactive-based-styling.html β interactivity/pop-ups.html β interactivity/click.html β interactivity/enter-leave.html β interactivity/histogram.html β interactivity/animation-controls.html β interactivity/interact-multiple-layers.html β guides/add-legends/step-3.html β guides/add-legends/step-2.html β guides/add-legends/step-5.html β guides/add-legends/step-9.html β guides/add-legends/step-8.html β guides/add-legends/step-10.html β guides/add-legends/step-4.html β guides/add-legends/step-7.html β guides/add-legends/step-6.html β guides/add-legends/step-1.html β guides/style-with-expressions/step-3.html β guides/style-with-expressions/step-2.html β guides/style-with-expressions/step-1.html β guides/animated-viz/step-3.html β guides/animated-viz/step-2.html β guides/animated-viz/step-5.html β guides/animated-viz/step-4.html β guides/animated-viz/step-7.html β guides/animated-viz/step-6.html β guides/animated-viz/step-1.html β guides/animated-viz/step-0.html β guides/aggregation-and-data-summaries/step-3.html β guides/aggregation-and-data-summaries/step-2.html β guides/aggregation-and-data-summaries/step-1.html β guides/zoom-based-styles/step-3.html β guides/zoom-based-styles/step-2.html β guides/zoom-based-styles/step-5.html β guides/zoom-based-styles/step-8.html β guides/zoom-based-styles/step-4.html β guides/zoom-based-styles/step-7.html β guides/zoom-based-styles/step-6.html β guides/zoom-based-styles/step-1.html β guides/data-driven-viz-1/step-3.html β guides/data-driven-viz-1/step-2.html β guides/data-driven-viz-1/step-5.html β guides/data-driven-viz-1/step-9.html β guides/data-driven-viz-1/step-8.html β guides/data-driven-viz-1/step-4.html β guides/data-driven-viz-1/step-7.html β guides/data-driven-viz-1/step-6.html β guides/data-driven-viz-1/step-1.html β guides/image-files/external-image.html β guides/image-files/align-image.html β guides/image-files/category-to-image.html β guides/image-files/color-image.html β guides/image-files/color-category-image.html β guides/image-files/built-in-image.html β guides/getting-started/step-2.html β guides/getting-started/step-1.html β guides/add-interactivity/step-3.html β guides/add-interactivity/step-2.html β guides/add-interactivity/step-4.html β guides/add-interactivity/step-1.html β guides/add-data-sources/step-3.html β guides/add-data-sources/step-2.html β guides/add-data-sources/step-1.html β guides/add-widgets/step-3.html β guides/add-widgets/step-2.html β guides/add-widgets/step-1.html β guides/build-custom-charts/step-3.html β guides/build-custom-charts/step-2.html β guides/build-custom-charts/step-5.html β guides/build-custom-charts/step-4.html β guides/build-custom-charts/step-6.html β guides/build-custom-charts/step-1.html β guides/interpolation/step-2.html β guides/interpolation/step-1.html β guides/interpolation/step-0.html β guides/data-driven-viz-2/step-3.html β guides/data-driven-viz-2/step-2.html β guides/data-driven-viz-2/step-4.html β guides/data-driven-viz-2/step-1.html β styling/style-with-variables.html β styling/color-schemes.html β styling/image-external.html β styling/draw-order.html β styling/animation.html β styling/style-by-number.html β styling/style-by-category.html β styling/image-multiple.html β styling/viewport.html β styling/image-single.html β styling/color-spaces.html β styling/scaled.html β styling/filter.html β sources/MVT.html β sources/GeoJSON.html β editor/redirect.html β editor/index.html β widgets/histogram-widget-viewport.html β widgets/category-widget-viewport.html β widgets/numeric-chart.html β widgets/viewport-summary.html β widgets/category-chart.html β widgets/weighted-histogram.html β widgets/histogram/category-histogram.html β widgets/histogram/numeric-histogram.html
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (9 by maintainers)
Top GitHub Comments
As discussed today in our meeting, we will add a directory
website
to house VL example maps that are used in different parts of the website. major goal: keeping the versioning updated potential downfall: examples are updated only when a new version is releasedheyyy nice review here! shows where we have some cleaning up to doβ¦ taking a closer look now (mostly to refresh my memory after the past 3 weeks! π)