Magento 2 provides the ability to import some things, such as products, via csv, but lacks the ability to create attributes and values this way. This functionality is needed, and should be part of the core.
When there are products with many variations, such as an item with many color choices, Magento should provide the ability to create the attribute and its options via csv an create the swatch file if a path to the swatch color files is included.