anychart.onDocumentReady(function () {
url: "https://static.anychart.com/images/docs/seat_map/house.svg",
success: function (svgData) {
function createSeatMap(svg){
var chart = anychart.seatMap();
chart.title("Set the fill and stroke original colors through coloring methods");
seatMapSeries = chart.choropleth();
{id: "Hall", value: "720"},
{id: "Room2", value: "165"},
{id: "Room1", value: "143"},
{id: "Kitchen", value: "208"}
chart.unboundRegions("as-is");
seatMapSeries.fill(function () {
var attrs = this.attributes;
if (attrs) return attrs.fill;
seatMapSeries.stroke(function () {
var attrs = this.attributes;
return attrs ? attrs.stroke : this.sourceColor;
chart.container("container");