nevada = {
const chartWidth = 60;
const chartHeight = 70;
const landColor = "#212121";
const landStroke = "#767676";
const markerColor = "#00728D";
const labelOnWaterColor = "#504C57";
const labelOnLandColor = "#FAF9FB";
const projection = d3.geoMercator()
.scale([300])
.center([-119.673, 37.250])
.translate([chartWidth / 2, chartHeight / 2]);
const pathGenerator = d3.geoPath(projection);
const svg = d3.create('svg')
.attr("title", "Map")
.attr('width', chartWidth)
.attr('height', chartHeight)
svg.selectAll('path')
.data(ca_map.features)
.join('path')
.attr('d', pathGenerator)
.attr('fill', '#fff')
.attr('stroke', landStroke)
.attr('stroke-width', 1);
svg.selectAll("circle")
.data([{
name: "Nevada Union High School",
coordinates: [-121.05492512774796, 39.2401964234913],
type: "school"
}])
.join("circle")
.attr("cx", d => projection(d.coordinates)[0])
.attr("cy", d => projection(d.coordinates)[1])
.attr("r", 3)
.attr("fill-opacity", 1)
.attr("fill", d => d.type == "school" ? markerColor: "#aaa");
return svg.node();
}