Published
Edited
Sep 15, 2020
Insert cell
md`# Useful D3 Functions for Data handling`
Insert cell
Insert cell
d3.csv("https://raw.githubusercontent.com/plotly/datasets/master/auto-mpg.csv")
Insert cell
Insert cell
Insert cell
md`### Local File as attachment and parsing using [d3 parsers](https://github.com/d3/d3-dsv).`
Insert cell
letterFreq = d3.csvParse(await FileAttachment("letterFreq.csv").text(), d3.autoType)
Insert cell
Insert cell
d3 = require("d3@5")
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