make show_d3() work with local files