Published unlisted
Edited
Feb 10, 2021
Insert cell
md`# try one liner chloropeth

sample of how to map a county map with just one line. ObservableHQ is awesome!`
Insert cell
chart
Insert cell
import { chart} with {title, mydata as dataFipsAndValueArray} from "@chonghorizons/choropleth-with-legend-attributes-added"
Insert cell
title="New Title, change this"
Insert cell
mydata = [
["48185", 1.2],
["48333", 13.73],
["42053", 7.43],
["48281", 3.3],
["48411", 15.2],
["48293", 13.18],
["48161", 11.11],
["48021", 1.13],
["13053", 0.47],
["48145", 9.39],
["48099", 11.35],
["02013", 4.04],
]

Insert cell
md`### Tip with importing data

See https://observablehq.com/@observablehq/introduction-to-data#flare for how to import your data in.
Or see https://observablehq.com/@chonghorizons/chloropeth-one-liner-with-import for how I imported csv COVID data from a github site.
`
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