map.size() Returns the number of entries in this map.
map.set(key, value) Sets the value for the specified key string. If the map previously had
set.clear() Removes all values from this set.
map.remove(key) If the map has an entry for the specified key string, removes the entry and returns true. Otherwise
map.each(function) Calls the specified function for each entry in this map, passing the entry’s value and key
set.remove(value) If the set contains the specified value string, removes it and returns true. Otherwise, this
d3.values(object) Returns an array containing the property values of the specified object (an associative array). The order
set.empty() Returns true if and only if this set has zero values.
map.has(key) Returns true if and only if this map has an entry for the specified key string. Note: the value
map.values() Returns an array of values for every entry in this map. The order of the returned values is arbitrary.
Page 2 of 4