{
const data = [{
type: 'choroplethmapbox',
locations: locations2,
z : medianIncome4,
geojson: fips_geojson,
coloraxis: 'coloraxis',
hoverinfo: 'skip'
}];
const layout = {
mapbox: {
center: {lat:37.0902,lon:-95.7129},
style: "open-street-map",
zoom: 3
},
coloraxis: {colorscale: "Jet"},
title: {text: "Median_Income"},
width: 900,
height: 500,
margin: {t: 30, b: 0}
};
const myDiv = DOM.element("div");
Plotly.newPlot(myDiv, data, layout);
return myDiv;
}