from bokeh.sampledata.unemployment import data as unemployment
counties = {
code: county for code, county in counties.items() if county["state"] == "tx"
}
county_xs = [county["lons"] for county in counties.values()]
county_ys = [county["lats"] for county in counties.values()]
colors = ["//F1EEF6", "//D4B9DA", "//C994C7", "//DF65B0", "//DD1C77", "/"]
county_names = [county["name"] for county in counties.values()]
county_rates = [unemployment[county_id]for county_id in counties]
county_colors = [colors[int(rate/3)] for rate in county_rates]
source = ColumnDataSource(data=dict(