This indicates that d-(+)-galactose-conjugated SWCNTs are potentially useful electrochemical biosensors for the detection of cancer marker galectin-3. Here, LGALS3 is linked to cancer.