4. add_shortcode, add_filter
6. attributes can include inline functions. Note the use of fillOpacity and strokeOpacity. Bullets in the pie chart legend are drawn by the element Point with style  (a square bullet). The intensity of the colors falls into the pastel spectrum due to the use of opacity.