Published
Edited
Mar 17, 2021
Insert cell
md`# Pecentage of Educational Attainment in St.Louis County, Minnesota
Assignment #4`
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
width = 610
Insert cell
height = 775
Insert cell
path_point = d3.geoPath().projection(projection)
Insert cell
path_basemap = d3.geoPath().projection(projection)
Insert cell
projection = d3.geoConicConformal()
.parallels([45 + 37 / 60, 47 + 3 / 60])
.rotate([94 + 15 / 60, 0]).fitExtent([[20, 20], [width, height]], topojson.feature(county, county.objects.St));
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
csv_data = d3.csvParse(await FileAttachment("minnesotacsvdata@1.csv").text(),({geoid, pcteducationattainment}) => [geoid,+pcteducationattainment])
Insert cell
//Pointpolygon import
points=FileAttachment("Cpountypoints.geojson").json()
Insert cell
//basemap import
county=FileAttachment("St.Louiscensustract_wgs84.json").json()
Insert cell
topojson=require("topojson-client@3")
Insert cell
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