This gist shows how to use CSS writing modes for supporting both latin and asian writing modes.
Initially the latin mode is loaded, then the asian mode can be enabled using the switch on the top right.
https://d3js.org/d3.v4.min.js
https://d3js.org/d3-selection-multi.v0.4.min.js