Hacker News new | past | comments | ask | show | jobs | submit login

The API seems much more intuitive than that of D3.js!

I used D3.js originally to draw line charts to visualise USGS mineral statistics, but currently only use it for svgLine (from d3-shape) and scaleLinear and scaleLog (form d3-scale) functions.

Is drawing on canvas much faster than on SVG?

Could matrix or other transforms be used to map screen coordinates to chart coordinates as the d3 scales do?

Generic projections in complex plane (viewed as cartesian or polar coordinates) might be fun for generative art or visualisations of various signals.




Yes, canvas is faster and I think d3 now supports canvas too, right?

d3 will give you a lot more support for data manipulations, but (if I may say so) creating highly customized visualizations can be easier in Pts.

I think it should be possible to use both d3 and Pts together. If you experiment with this approach, please let me know how it goes!




Consider applying for YC's first-ever Fall batch! Applications are open till Aug 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: