Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@deck.gl/json
Advanced tools
@deck.gl/json is a package that allows you to create and configure deck.gl visualizations using JSON. This package is particularly useful for dynamically generating visualizations from JSON configurations, making it easier to integrate with various data sources and user interfaces.
Creating Deck.gl Layers from JSON
This feature allows you to define deck.gl layers using JSON. The example shows how to create a ScatterplotLayer with data points and their respective sizes.
{"layers": [{"type": "ScatterplotLayer", "data": [{"position": [-122.45, 37.78], "size": 100}], "getPosition": "d => d.position", "getRadius": "d => d.size"}]}
Configuring Deck.gl Views from JSON
This feature allows you to configure deck.gl views using JSON. The example shows how to create a MapView with a controller enabled.
{"views": [{"type": "MapView", "controller": true}]}
Using JSON to Define Deck.gl Props
This feature allows you to define various deck.gl properties using JSON. The example shows how to set the initial view state of the map.
{"initialViewState": {"longitude": -122.45, "latitude": 37.78, "zoom": 12, "pitch": 0, "bearing": 0}}
Kepler.gl is a powerful open-source geospatial analysis tool for large-scale data sets. It provides a user-friendly interface for creating complex visualizations without writing code. Compared to @deck.gl/json, kepler.gl offers a more comprehensive UI for data exploration and visualization.
React-map-gl is a React wrapper for Mapbox GL JS, providing a set of React components for integrating Mapbox maps into React applications. While it doesn't offer JSON-based configuration like @deck.gl/json, it provides a more React-centric approach to building map-based applications.
JSON support for deck.gl. Provides deck.gl classes that support specifying deck.gl layers and views (and their props) using a JSON format.
See deck.gl for documentation.
PoC: JSON layer browser built on new @deck.gl/json module.
deck.gl [v7.0.0-beta.4] - Apr 11 2019
FAQs
JSON format rendering components for deck.gl
The npm package @deck.gl/json receives a total of 120,491 weekly downloads. As such, @deck.gl/json popularity was classified as popular.
We found that @deck.gl/json demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.