var mapping = { // columns names for "value" metrics (y-axis), and a title for the size/weight value to use on the y-axis startValue: "deathRate_before", endValue: "deathRate_after", titleValue: "Fetal Death Rate", // column names for "weight" metrics (x-axis), and a title for the size/weight variable to use on the x-axis startWeight: "numBabiesBorn_before", endWeight: "numBabiesBorn_after", titleWeight: "Number of Babies Born", // column to segment the data into subgroups segmentName: "birthweight", // if you want to filter by another variable, type the name of that column here - and the category you want to filter as 'filterCat', as shown in the options that are commented out filterName: "", filterCat: "", //filterName: "state", //filterCat: "Ohio" } var scaleOptions = { // set scale (either 'linear' or 'log') weightScale: "log", valueScale: "log" }