
Product
Introducing Reports: An Extensible Reporting Framework for Socket Data
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.
desi-graphics
Advanced tools
An extension of of deck.gl along with other mapping tools.
npm install desi-graphics
Maps.getStyles() Maps.loadStyle()
configFieldsExample of the properties contained in a weather field configuration:
"dustFineSfc": {
"defaults": "default", // could be a field like "t2"
"colorBars": {
"default": { // could also be `difference`, `spread`, `timing`, `percentage`, `paintball`
"colorLevels": [0, 1, 25, ...],
"colors": [
"rgba(0,0,0,0)",
"rgba(0,0,0,0)",
"rgb(255, 240, 204)",
...
],
"colorType": "scaleLinear", // scaleLinear, scaleThreshold
"contourLevels": [5, 25, 50, ...],
"isLeftCap": false,
"tickAngle": -90,
"ticks": "byColorLevels", // `byColorLevels`, `linear`
"tickValues": []
},
"difference": {
"colorLevels": [-2, -1, -0.75, -0.5, ...],
},
"spread": {
"colorLevels": [0, 0.1, 0.25, 0.5, 0.75, 1],
},
},
"colorPrimary": "rgb(200,153,100)", // for 1D chart
"nameLegend": "Near Surface Fine Dust",
"namePublic": "Near Surface Fine Dust",
"nameShort": "Fine Dust",
"roundto": 1,
"roundtoReadout": 0,
"units": "µg/m^3"
}
const shadedLayer = new ShadedLayer({
...
readout: [
{
// array - full data array
data,
// number - rounding of data in the readout
decimals,
// boolean - does readout use linear interpolated between points
interpolate,
// string - leading readout text such as `Mean Temperature`
prependText,
// string - will be appended to the end of the data value (ie `mph`)
units,
// function - this will alter the default readout text for the value. It takes `value` as
// an argument and should return a string
valueFormatter
}
]
})
FAQs
An extension of deck.gl for producing weather graphics
We found that desi-graphics demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.