Public
Edited
Jun 18, 2024
2 forks
Importers
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
aziende_raw = d3.json(
"https://corsme.herokuapp.com/https://aziendeconfiscate.camcom.gov.it/odacWeb/opendata/download/aziende-confiscate-unioncamere.json"
)
Insert cell
aziende = JSON.parse(aziende_raw.contents)
Insert cell
aziendeDB = Data.import({"source":aziende["@graph"],"type":"json"})
Insert cell
Inputs.Table(aziendeDB.json())
Insert cell
Insert cell
query = function (data, options) {
var feed = Data.feed({
source:
"https://corsme.herokuapp.com/https://aziendeconfiscate.camcom.gov.it/odacWeb/opendata/download/aziende-confiscate-unioncamere.json",
type: "json"
}).load(function (newData) {
var aziendeDB = Data.import({ source: feed.data["@graph"], type: "json" });
options.type = "jsonDB";
ixmaps.setExternalData(aziendeDB, options);
});
}
Insert cell
Insert cell
ixmaps = require('https://gjrichter.github.io/ixmaps/ui/js/htmlgui_api.js')
Insert cell
Data = require('https://gjrichter.github.io/data.js/data.js')
Insert cell
Inputs = require("@observablehq/inputs@0.7.21/dist/inputs.umd.min.js")
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more