This commit uses vanilla ES6 to get the unique values from an array of
objects. This removes the need for d3 in this script. This is helpful
because now this script is encapsulated, meaning it stands on its own
and doesn't need anything else loaded to work.
This commit uses vanilla ES6 to get the unique values from an array of objects. This removes the need for d3 in this script. This is helpful because now this script is encapsulated, meaning it stands on its own and doesn't need anything else loaded to work.