René's URL Explorer Experiment


Title: Outlier slows down zooming in scattergl · Issue #6174 · plotly/plotly.js · GitHub

Open Graph Title: Outlier slows down zooming in scattergl · Issue #6174 · plotly/plotly.js

X Title: Outlier slows down zooming in scattergl · Issue #6174 · plotly/plotly.js

Description: I have large data sets, which have a fat tail, i.e. looks like having an outlier. I use scattergl aiming for fast zooming. As shown in https://plotly.com/javascript/webgl-vs-svg or in the example below, one million points can be done. Ho...

Open Graph Description: I have large data sets, which have a fat tail, i.e. looks like having an outlier. I use scattergl aiming for fast zooming. As shown in https://plotly.com/javascript/webgl-vs-svg or in the example b...

X Description: I have large data sets, which have a fat tail, i.e. looks like having an outlier. I use scattergl aiming for fast zooming. As shown in https://plotly.com/javascript/webgl-vs-svg or in the example b...

Opengraph URL: https://github.com/plotly/plotly.js/issues/6174

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Outlier slows down zooming in scattergl","articleBody":"I have large data sets, which have a fat tail, i.e. looks like having an outlier.\r\nI use `scattergl` aiming for fast zooming. As shown in https://plotly.com/javascript/webgl-vs-svg\r\nor in the example below, one million points can be done. However, if one point is set as an outlier, then zooming becomes very \r\nslow. I don't understand this, and spent quite some time to pin down the problem.\r\n\r\nhttps://jsfiddle.net/fasmu943\r\n\r\n```html\r\n\u003c!DOCTYPE html>\r\n\u003chtml>\r\n\u003cdiv id=\"plotly-div1\">\u003c/div>\r\n\u003cdiv id=\"plotly-div2\">\u003c/div>\r\n\r\n\u003cscript src='https://cdn.plot.ly/plotly-latest.min.js'>\u003c/script>\r\n\u003cscript>\r\nfunction gaussianRand() {\r\n    var rand = 0\r\n    for (var i=0; i \u003c 3; ++i) {\r\n        rand += Math.random()\r\n    }\r\n    return (rand / 3) - 0.5\r\n}\r\n\r\nfunction plot(y, divnum){\r\n   trace1 = {\r\n      type: \"scattergl\",\r\n      y: y,\r\n   }\r\n   layout = {\r\n      height: 250,\r\n      margin: {l: 40, r: 10, b: 30, t: 10}\r\n   }\r\n   Plotly.plot('plotly-div'+divnum, {\r\n      data: [trace1],\r\n      layout: layout,\r\n   })\r\n}\r\n\r\nY = []\r\nfor (var i=0; i \u003c 1000000; i++) {\r\n    Y.push(gaussianRand())\r\n}\r\n\r\nplot(Y, 1)\r\n\r\nY[800000] = 100.   // adding an outlier slows down zoom\r\n\r\nplot(Y, 2)\r\n\r\ndelete Y\r\n\r\n\u003c/script>\r\n\u003c/html>\r\n```","author":{"url":"https://github.com/mzechmeister","@type":"Person","name":"mzechmeister"},"datePublished":"2022-04-30T16:42:54Z","url":"https://github.com/plotly/plotly.js/issues/6174"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e6942dd7-d46c-b3bf-0ed2-356fae9b93c2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9B9E:311640:2E2EA41:3ABE8D3:6B01C111
html-safe-nonce61dbed4d6f258f715fd481afa96b776c885fe01fd6896a5e5e80601d8a174c6c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjlFOjMxMTY0MDoyRTJFQTQxOjNBQkU4RDM6NkIwMUMxMTEiLCJ2aXNpdG9yX2lkIjoiOTE0MzAzMDAxNTMzODg1NjcyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace7ad224be1fc5ed8d0402e2b1f41ba7371cb7fa4a346acc5b64d35531067ad13
hovercard-subject-tagissue:1221871741
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/6174/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3a60dd2825fd4533fd2540748ba90acf4010d95769d1c0af9b72fd419f2d3509/plotly/plotly.js/issues/6174
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3a60dd2825fd4533fd2540748ba90acf4010d95769d1c0af9b72fd419f2d3509/plotly/plotly.js/issues/6174
og:image:altI have large data sets, which have a fat tail, i.e. looks like having an outlier. I use scattergl aiming for fast zooming. As shown in https://plotly.com/javascript/webgl-vs-svg or in the example b...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemzechmeister
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id45646037
octolytics-dimension-repository_nwoplotly/plotly.js
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id45646037
octolytics-dimension-repository_network_root_nwoplotly/plotly.js
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/plotly/plotly.js/issues/6174#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F6174
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F6174
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=plotly%2Fplotly.js
Reloadhttps://github.com/plotly/plotly.js/issues/6174
Reloadhttps://github.com/plotly/plotly.js/issues/6174
Reloadhttps://github.com/plotly/plotly.js/issues/6174
plotlyhttps://github.com/plotly
plotly.jshttps://github.com/plotly/plotly.js
Codehttps://github.com/plotly/plotly.js
Issues726 (726)https://github.com/plotly/plotly.js/issues
Pull requests84 (84)https://github.com/plotly/plotly.js/pulls
Actionshttps://github.com/plotly/plotly.js/actions
Security and qualityhttps://github.com/plotly/plotly.js/security
Insightshttps://github.com/plotly/plotly.js/insights
https://github.com/plotly/plotly.js
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/6174
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/6174
Outlier slows down zooming in scatterglhttps://github.com/plotly/plotly.js/issues/6174#top
P3backloghttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22P3%22
bugsomething brokenhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/mzechmeister
mzechmeisterhttps://github.com/mzechmeister
on Apr 30, 2022https://github.com/plotly/plotly.js/issues/6174#issue-1221871741
https://plotly.com/javascript/webgl-vs-svghttps://plotly.com/javascript/webgl-vs-svg
https://jsfiddle.net/fasmu943https://jsfiddle.net/fasmu943
https://github.com/alexcjohnson
alexcjohnsonhttps://github.com/alexcjohnson
on May 3, 2022https://github.com/plotly/plotly.js/issues/6174#issuecomment-1116273202
@mzechmeisterhttps://github.com/mzechmeister
plotly.js/src/traces/scattergl/calc.jshttps://github.com/plotly/plotly.js/blob/042742d67638ea970bd70d5c143db3a181e613bc/src/traces/scattergl/calc.js#L78
042742dhttps://github.com/plotly/plotly.js/commit/042742d67638ea970bd70d5c143db3a181e613bc
https://github.com/mzechmeister
mzechmeisterhttps://github.com/mzechmeister
on May 4, 2022https://github.com/plotly/plotly.js/issues/6174#issuecomment-1117079500
https://github.com/CallumNZ
CallumNZhttps://github.com/CallumNZ
on Feb 21, 2023https://github.com/plotly/plotly.js/issues/6174#issuecomment-1439203428
https://user-images.githubusercontent.com/9264582/220475551-2f13e34e-62e7-470f-a6ab-113c40edbb6a.png
https://user-images.githubusercontent.com/9264582/220476004-28e8b602-2643-451e-9c8a-398a8a05f022.png
https://user-images.githubusercontent.com/9264582/220476489-bac86596-53c0-4d02-8cca-f5220b7973ce.png
https://user-images.githubusercontent.com/9264582/220477678-f00da90e-f638-4a2d-9c51-7a8a7a3ef5bc.png
https://user-images.githubusercontent.com/9264582/220477806-106d2fcf-82f0-4d95-8f93-b2f9417cfbfd.png
gvwilsonhttps://github.com/gvwilson
on Jul 4, 2024https://github.com/plotly/plotly.js/issues/6174#event-13394776773
gvwilsonhttps://github.com/gvwilson
on Aug 2, 2024https://github.com/plotly/plotly.js/issues/6174#event-13740564377
gvwilsonhttps://github.com/gvwilson
bugsomething brokenhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22bug%22
P3backloghttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22P3%22
on Aug 9, 2024https://github.com/plotly/plotly.js/issues/6174#event-13823171921
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.js/issues/6174
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/6174
P3backloghttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22P3%22
bugsomething brokenhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.