Election Number
viewof textInput = text({placeholder: "Placeholder text", description: "Note that text inputs don’t show output on the right"})
makeTable(filteredData)
rfrdData = d3.csv("https://raw.githubusercontent.com/rfrd-tw/taiwan-2018/master/data/mayoral_results_20181124-181643.csv")
filteredData = rfrdData .filter((_entry)=> { return _entry["行政區"].includes(textInput) || _entry["縣市"].includes(textInput) })
rfrdData
d3 = require("d3@5")
import {text} from "@jashkenas/inputs"
import {viewof makeTable as makeTable} from "@muyueh/table-function"