Public
Edited
Oct 19, 2022
Fork of Untitled
1 fork
Insert cell
//khjh
Insert cell
sample = FileAttachment("sample.xlsx").xlsx()
Insert cell
rawdata= `name age gender height grade year of stude
abhi 23 male 124.4 a 1
nuruk 43 female 134.5 b 2
ram 56 male 114.5 b 1
sham 33 male 163.4 b 2
jodu 21 male 171.9 a 3
bitu 23 female 234.1 b 3
rophan 45 male 111.1 a 3
marcus 32 female 213.2 c 2
illora 53 female 223.1 a 1`
Insert cell
data_set= d3.tsvParse(rawdata)
Insert cell
rawdata
Insert cell
d3= require('d3-dsv')
Insert cell
Insert cell
Plot.plot({
marks: [
Plot.line(data_set, {x: "name", y: "height", stroke: "gender"})
],color: { legend: true }
})
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