{"id":28534060,"url":"https://github.com/esri/dot-density-legend","last_synced_at":"2025-07-07T20:30:48.072Z","repository":{"id":49310803,"uuid":"181546462","full_name":"Esri/dot-density-legend","owner":"Esri","description":"Demo application for building a dot density visualization with an interactive legend.","archived":false,"fork":false,"pushed_at":"2019-04-15T21:12:36.000Z","size":11127,"stargazers_count":10,"open_issues_count":0,"forks_count":12,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-09T17:11:25.934Z","etag":null,"topics":["data-visualization","dot-density-style","javascript","legend","population"],"latest_commit_sha":null,"homepage":"https://esri.github.io/dot-density-legend/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Esri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-15T18:46:06.000Z","updated_at":"2024-11-07T08:24:06.000Z","dependencies_parsed_at":"2022-08-27T22:32:06.122Z","dependency_job_id":null,"html_url":"https://github.com/Esri/dot-density-legend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Esri/dot-density-legend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esri%2Fdot-density-legend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esri%2Fdot-density-legend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esri%2Fdot-density-legend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esri%2Fdot-density-legend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Esri","download_url":"https://codeload.github.com/Esri/dot-density-legend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esri%2Fdot-density-legend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264142519,"owners_count":23563509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-visualization","dot-density-style","javascript","legend","population"],"created_at":"2025-06-09T17:09:43.201Z","updated_at":"2025-07-07T20:30:48.060Z","avatar_url":"https://github.com/Esri.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dot Density - U.S. Population by Race\n\nThis app visualizes U.S. population by Census Tract using Dot Density. Each dot represents 800 people at the initial scale of the map. As you zoom, the dot value dynamically updates to maintain the same visual density across scale. Color is used to map population of different races. Move the cursor over the legend to emphasize the population distribution of one race at a time.\n\n![screenshot](./img/dot-density-race.gif)\n\n[View it live](https://esri.github.io/dot-density-legend/)\n\nRead the following blog to learn more about how this app was created: [Interactive dot density maps for the web](https://www.esri.com/arcgis-blog/products/js-api-arcgis/mapping/interactive-dot-density-maps-for-the-web/).\n\n## Features\n\nThis app demonstrates the following capabilities.\n\n### Dot density\n\n`DotDensityRenderer` is used to visualize population density by assigning a population value to each dot. The dot value varies by scale. See [DotDensityRenderer](https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-DotDensityRenderer.html) for more details.\n\n### Fast visualization updates\n\nThe ArcGIS JS API renders all data using WebGL. This allows the API to update visualizations quickly for enhanced user experiences. See the [Animate opacity visual variable](https://developers.arcgis.com/javascript/latest/sample-code/visualization-vv-opacity-animate/index.html) sample for more details.\n\n### Interactive Legend\n\nThe user can explore individual categories of data by interacting with Legend elements. See the [Legend](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Legend.html) API reference for more details.\n\n### Popups\n\nThe data in this app is rendered using dynamic feature tiles. This means we can render the data quickly without cooking it. It can be queried, highlighted, and analyzed. This app loads thousands of features quickly, but also allows the user to interact with it via popups. See the documentation of the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) API reference for more details.\n\n## Instructions\n\n1. Fork and then clone the repo.\n2. Run and try the sample.\n\n## Requirements\n\n* Notepad or your favorite HTML editor\n* Web browser with access to the Internet\n\n## Resources\n\n* [ArcGIS for JavaScript API Resource Center](http://help.arcgis.com/en/webapi/javascript/arcgis/index.html)\n* [ArcGIS Blog](http://blogs.esri.com/esri/arcgis/)\n* [twitter@esri](http://twitter.com/esri)\n\n## Issues\n\nFind a bug or want to request a new feature?  Please let us know by submitting an issue.\n\n## Disclaimer\n\nThis demo application is for illustrative purposes only and it is not maintained. There is no support available for deployment or development of the application.\n\n## Contributing\n\nEsri welcomes contributions from anyone and everyone. Please see our [guidelines for contributing](https://github.com/esri/contributing).\n\n## Licensing\n\nCopyright 2019 Esri\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nA copy of the license is available in the repository's [license.txt](./license.txt ) file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesri%2Fdot-density-legend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesri%2Fdot-density-legend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesri%2Fdot-density-legend/lists"}