question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 5 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
makellacommented, Feb 4, 2019

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 released

1reaction
makellacommented, Jan 31, 2019

heyyy 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! πŸ˜„)

Read more comments on GitHub >

github_iconTop Results From Across the Web

reduce number of times | English examples in context - Ludwig
High quality example sentences with β€œreduce number of times” in context from reliable sources - Ludwig is the linguistic search engine that helps...
Read more >
Reduce Sample Size - Statistics How To
Finding Sample Sizes > In many cases, finding an appropriate sample size results in a sample size that's too large. You may not...
Read more >
Array.prototype.reduce() - JavaScript - MDN Web Docs
The reduce() method executes a user-supplied "reducer" callback function on each element of the array, in order, passing in the return valueΒ ...
Read more >
Python's reduce(): From Functional to Pythonic Style
In this example, add() takes two arguments and returns their sum. So, you can use add() with reduce() to compute the sum of...
Read more >
reduce() in Python - GeeksforGeeks
The reduce(fun,seq) function is used to apply a particular function ... result and the number just succeeding the second element and theΒ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found