marmelab / EventDrops

A time based / event series interactive visualization using d3.js
http://marmelab.com/EventDrops/
MIT License
1.24k stars 237 forks source link

[RFR] Flatten configuration object #196

Closed jpetitcolas closed 6 years ago

jpetitcolas commented 6 years ago

Put configuration parameters and d3 at same level.


{
    d3,
-    config: {
-        drop: { radius: 10 }
-    }
+    drop: { radius: 10 }
}