changed to dictionary based json and area range graph