#typescript#data_visualization#geospatial_analysis#javascript#maps#python#visualization#webgl
deck.gl is a powerful tool that helps you create fast, interactive, and visually impressive maps and data visualizations using WebGL technology. It lets you turn large sets of data into layers like icons, polygons, and text, which you can view in different ways such as maps or 3D scenes. It works well with popular map providers like Google Maps and Mapbox, and supports easy interaction like clicking and filtering. You can use it simply by adding a script or installing it via npm or Python. This makes it easier for you to build custom, high-performance visualizations quickly and with less coding effort.
https://github.com/visgl/deck.gl
# The standard string repr for dicts is hard to read:
»> my_mapping = {'a': 23, 'b': 42, 'c': 0xc0ffee}
»> my_mapping
{'b': 42, 'c': 12648430. 'a': 23} # 😞
# The "#json" module can do a much better job:
»> import json
»> print(json.dumps(my_mapping, indent=4, sort_keys=True))
{
"a": 23,
"b": 42,
"c": 12648430
}
# Note this only works with dicts containing
# primitive types (check out the "pprint" module):
»> json.dumps({all: 'yup'})
TypeError: keys must be a string
История(12м) как в Альфа-Банке сокращали размер JSON файла, который передается на устройство для работы SDUI. Решением стала шаблонизация для отказа от одинаковых блоков UI с разными данными
#оптимизация#json
¿Que puede hacer este bot?
@apimaniaBot
Con éste bot puedes crear PDF a partir de páginas web, convertir texto a imágenes, convertir tablas HTML a json y mucho más
Idioma: español
(Visto en @botsgram_cu)
#pdf#web#texto#imágenes#hrml#json